变量类型应该匹配的原子类型。
只要有可能,就使用基本变量类型,而不使用对象类型。
Use the primitive variable types instead of the object types whenever possible.
绑定到富文本控件的 requestScope.body全局变量类型为 com.ibm.xsp.http.MimeMultipart。
The requestScope.body global variable, bound to the rich text control, is of type com.ibm.xsp.http.MimeMultipart.
那么,这个变量的类型是什么?
用于弱类型变量,以将它们强制转换为另一种类型。
增加一些语法,即可为此确定您的变量的数据类型。
With a bit of extra syntax, you can data type your variables for this.
这样一个具有适当类型的新变量就创建好了。
A new variable with the appropriate type is created for you.
有两种类型的变量:数据类型和接口。
每一个标记定义了每个变量的名称和数据类型。
注意,每个变量的类型都首先声明。
此外,表达式在分配时必须与变量数据类型兼容。
Also, the expression must be assignment-compatible to the variable data type.
此变量对所有任务类型可用。
使用正在被赋值的变量的类型(称为简单架构)。
Use the type of the variable to which it is being assigned (call this simple).
相反,系统将创建新的简单类型对象并将其赋值给变量。
Instead, a new simple type object is created and assigned to the variable.
若是变量的类型名称较长,或是会经常变化,那么这样的声明方法更是将显得非常乏味。
When the type names are long or are changed frequently, this can become quite tedious.
使用非常小的变量长度类型(大小为1或者2)。
因此,程序员可以声明一个Sequence类型的变量。
Therefore, a programmer can declare a variable of type Sequence.
我为这个事件添加了一个类型为公共变量的参数TimeEntry。
I add an argument for the event as a public variable of type TimeEntry.
将私有变量filename添加到该类中,数据类型为String。
Add a private variable filename of type String to this class.
利用相同的方式,创建类型为shippingFault的shippingFault变量。
In the same manner, create a ShippingFault variable with the ShippingFault type.
在这里,没有任何类型的计数器变量(或者Iterator),也不存在任何侥幸。
Without any type of counter variable (or Iterator), you're simply out of luck here.
完整的类型引用:无需输入本地变量。
Complete type inference: you don't need to type your local variables.
ProcessData变量现在使用Request数据类型。
新变量的默认类型是“String”。
要声明一个原子变量(atomic variable),首先声明一个atomic _ t类型的变量。
To declare an atomic variable, you simply declare a variable of type atomic_t.
若是流程控制变量,则使用基本类型变量。
注意您如何可以将任意类型的数据赋给任意变量。
Notice how you can stick any type of data into any variable.
局部变量可以是基元类型或业务对象类型。
添加更加强大的不变量的另一种方法是从属类型。
Yet another approach to adding much more powerful invariants is that of dependent types.
变量是保存任何数据类型的值的标识符。
Variables are identifiers that hold values of any data type.
应用推荐