Is it better to re-declare variable in module or reference separate module?
这是更好地重新申报模块或参考单独模块变量?
You can declare and initialize a test variable, set its scope, and change its value.
您可以声明并初始化一个测试变量,设置它的范围,并更改它的值。
You may be wondering, in a problem with many more decision variables and constraints, would you have to declare each variable and each constraint separately?
我们可能会纳闷,在有更多决策变量和约束的问题中,我们只能分别逐一声明每个变量和每个约束吗?
Finally, we need implicitly typed variables, so that we can assign the query to a variable without having to declare its type explicitly.
最后,我们需要使用隐式类型化变量,这样就可以为变量分配查询,不必显式声明其类型。
You don't have to declare a special variable for it if you don't care about its actual value.
你并不需要为它声明一个特定的变量,如果你不关心它的实际值。
You can declare a local variable simply by creating an expression containing only the name of the variable, and assigning a value to it.
只需要创建一个仅包含变量名称的表达式,并为其指定一个取值,就可以声明一个局部变量。
To declare one, make sure no scope activities are selected when you add a variable.
要声明一个变量,请确保在添加变量时没有选择任何范围活动。
A manifestly typed language forces you to declare each variable and each function argument.
显式类型语言要求声明每个变量和每个函数参数。
Imagine writing two methods that each declare a locale variable with the exact same name.
想象一下,如果写了两个方法,每个都声明了一个局部变量,且名字一致。
Declare arrays whose length is a local variable, but don't try to go much further.
可以声明长度为本地变量的数组,但是就到此为止吧。
When you create a variable, you need to declare what type it is before you can use it.
在创建变量时,需要声明变量的类型,然后才能使用该变量。
In line 11, you declare a proxy variable to use to invoke the service.
11行,声明了一个代理变量以激活服务。
However, this WSDL file, or the contract, does not declare which element (s) may be a required or optional variable for the invocation.
然而,WSDL文件,或者说协议并没有指明哪一个元素是调用服务必须的或可选的变量。
Therefore, a programmer can declare a variable of type Sequence.
因此,程序员可以声明一个Sequence类型的变量。
No matter where you declare a variable or function, the extern keyword allows other files to use it without knowing where it was defined.
不管在哪里声明一个变量或函数,extern关键字都允许其他文件在不确定其定义位置的情况下使用该文件。
The first line USES the val keyword to declare a read-only variable named book.
在第一行我们使用了val关键字来声明一个只读变量book。
In this example, we also need to declare and initialize a variable to handle the Address complex type returned by the Web Service, shown in Listing 13.
在这里实例中,我们也需要声明和初始化一个变量,用来处理Web服务返回的Address复杂类型,如清单13。
To create a filesystem with fuse, you need to declare a structure variable of type fuse_operations and pass it on to the fuse_main function.
要使用fuse来创建一个文件系统,您需要声明一个fuse_operations类型的结构变量,并将其传递给fuse_main函数。
The JSP container will implicitly declare one for you and make it available through the out variable.
JSP容器将会为您隐式地声明一个,并通过out变量提供给您。
When you declare a pointer yourself manually, you do say char * the variable name because recall that's the same thing that we did earlier but we called it instead string.
当你手动声明一个指针是,你可以说char,*,变量名字,因为那是我早些时候做的事情,但是我们叫它为字符串。
You cannot declare a variable of type Static1 because it is marked as a static class.
您不能声明Static 1类型的变量,因为它被标记为静态类。
You need to declare and initialize a variable for the web service, as shown in Listing 12.
您需要为Web服务声明和初始化一个变量,如清单12。
The calculator makes use of the local statement to declare x as a local variable that is available only within the scope of the mycalc function.
这个计算器利用local语句将x声明为局部变量,只能在mycalc函数的范围内使用。
You use the function keyword to denote the start of a function and the var keyword to declare local (as opposed to global) variables, but you do not include the type of the variable being declared.
您可以使用function关键字开始函数的声明,使用var关键字来声明局部变量(这与全局变量不同),但是不用包括正在声明的变量的类型。
You might declare ThingToHandle as a variable instead of a parameter.
您可能会将ThingToHandle 声明为变量,而不是参数。
You can declare a button first as a variable or define it directly in the parent object's content attribute. Listing 9 displays the definition of the Back button
可以首先将一个按钮声明为一个变量,或者直接在其父对象的content属性中定义它。
This tag lets a template declare and use a global variable, using the full power of XPath to manipulate that variable at any point.
该标签允许模板声明和使用一个全局变量,使用XPath的全部能力来在任何时候操纵该变量。
To declare a static property, place the keyword static after the visibility modifier, directly in front of the property variable.
要声明静态属性,将关键字static放在可见度修饰符后面,直接位于属性变量前面。
To declare an atomic variable, you simply declare a variable of type atomic_t.
要声明一个原子变量(atomic variable),首先声明一个atomic _ t类型的变量。
But notice unlike a for loop, if you want to declare a variable or increment or decrement to variable, you've got to do that yourself.
但请注意不像for循环,如果你想声明一个变量,或者变大或变小一个变量,你需要自己完成。
应用推荐