Well, I could add a new member field to the class and use that instead of a local variable.
是的,我可以在类中添加一个新的成员字段,并使用这个字段而不是局部变量。
To declare one, make sure no scope activities are selected when you add a variable.
要声明一个变量,请确保在添加变量时没有选择任何范围活动。
The first step is to add the required hash to the variable declaration section.
第一步是向变量声明部分中添加必需的散列。
You should also add this variable to the PATH environment variable, as shown in Figure 3.
您还应当添加该变量到PATH环境变量,如图 3 所示。
Once you have such a Python file there, you can go to any folder, choose "Add External Method", and add a variable that invokes the function in question.
一旦那里有了这样一个Python文件,您就可以转到任意文件夹,选择“添加外部方法”,并添加调用要使用的函数的变量。
A disadvantage of this approach is that each end user must add many bin directories to his or her PATH environment variable.
这种方法有一个缺点,每个最终用户必须向他或她的PATH环境变量中添加许多bin目录。
To properly handle the workspace environment variable, we'll add the following code to the build file.
为了合适地处理workspace环境变量,我们将会向构建文件添加以下的代码。
Add the bin directory under the JDK installation directory to the user's PATH environment variable.
将JD K安装目录下的bin目录添加到用户的PATH环境变量中。
Add an extra variable and two methods to the root bean in your data source, as Listing 8 shows. You can see these changes in the Root.java
在您的数据源中添加一个额外的变量和两中方法到您的根bean 中,如 列表8 所示。
To complete the modifications, add my %jobMP = (); my %nameMP = (); to the variable declaration section and modify the main program logic from Listing 14 to Listing 15.
要完成修改,请将my %jobMP = (); my %nameMP = ();添加到变量声明部分中并将主程序逻辑从清单14修改为清单15。
Under the Shared Variable Value Configuration section, add validation requirements to password by following the same steps outlined above for username.
在SharedVariableValueConfiguration部分中,按照前面为用户名列出的相同步骤来为密码添加验证要求。
Then we add five starter NBA players using the variable NBAPlayer to each team.
然后,我们将使用变量NBAPlayer 将五个首发上场的NBA球员添加到每个球队中。
Under the Shared Variable Value Configuration section, add validation requirements to username by following the steps outlined above, as shown in Figure 25.
在SharedVariableValueConfiguration部分中,按照上面列出的步骤为用户名添加验证要求,如图25所示。
When you add a variable in the Variables section, you are adding it to the currently selected scope.
当在Variables部分中添加变量时,会将该变量添加到当前选择的范围。
Add the bin directory under the JDK installation directory to the PATH environment variable.
将JD K安装目录下的bin目录添加到PATH环境变量。
If a HOME variable is already set, then simply note the location (you'll need it in a moment) or click the Environment Variables button and then click New to add a HOME variable.
如果已经设置了HOME变量,那么只需记下其内容(稍后需要它);否则,单击EnvironmentVariables按钮,然后单击new以添加home变量。
You can also use the ACTION environment variable to detect whether the device is being connected or disconnected - ACTION will be either "add" or "remove" respectively.
你也可以使用ACTION环境变量来检测设备是否连接或断开, 它的值是"add"和"remove"其中的一个。
To add the correct JARs in the Class path section of the dialog box shown in Figure 28, first click Remove to remove the environment variable entries.
为了在图28所示对话框的Classpath部分添加一个恰当的JAR,首先点击Remove按钮移除环境变量条目。
One special function called atomic_add_negative is used to add to the atomic variable and then return true if the resulting value is negative.
一个叫做 atomic_add_negative 的特殊函数被添加到原子变量中,然后当结果值为负数时返回真(true)。
You can read the contents of an atomic variable with atomic_read and also add a specific value to a variable with atomic_add.
可以使用 atomic_read读取原子变量中的内容,也可以使用 atomic_add 为一个变量添加指定值。
For the OrderStatus variable, there is simple logic to check if the ordered quantity is less than 100. Add the rule to the rule Editor as shown below and then press enter.
对于OrderStatus变量,可以通过一种简单的逻辑来检查所订购的数量是否小于100。
In the Variable value field, keep the existing value, and add the following to the end:; c: \ flex \ bin.
在Variablevalue字段保留现有的值,并在其后添加:;c: \flex \bin。
Call the new variable WAS_51_PLUGINDIR and paste the value from the clipboard. Add a 1 to the end of the path to end up with something like.
将新变量称为WAS_51_PLUGINDIR并从剪贴板粘贴值。
Finally, we need to add a single variable to the 'private:' section of the header file. This is the object that will handle the external executable (FFMPEG) from within qt.
最后,我们需要在头文件的“private:”部分中添加一个变量。
You might want to set your profile like this, or in Windows, set a system environment variable. In any case, you want to add the following JARs to your classpath.
您也许想将您的profile也设置为这样,或者在Windows中设置一个系统环境变量。
Add some control to the Web application to display the localized messages. First, add a String variable key to record what type of error occurs for Login.java
向Web应用程序中添加一些控制来显示地方化的消息。
The above module showed how to add people resolution to your human task using expressions and multiple input values, which USES a business object variable with array inputs.
上述模块显示了如何使用表达式和多个输入值添加人员解析到您的人工任务,使用一个含有数组输入的业务对象变量。
You can replace recorded test values with variable test data, or add dynamic data to the test.
您可以用各种测试数据来代替所记录的测试值,或者向测试中添加动态数据。
NOTE: If you are installing any of these programs for the first time, be sure to add the executable paths to your system path variable so that you can run them from the command prompt.
注:如果第一次安装这些程序,确保向系统PATH变量添加可执行路径,这样可以在命令提示符处运行它们。
Add a new string substitution variable named WAS_HOME with the value again pointing to your WAS_HOME directory (Figure 4).
添加一个名为WAS_HOME新的字符串替代变量,它的值仍然指向您的WAS_HOME目录(如图4所示)。
应用推荐