Constants: the following are the integer constants defined.
常量:下面是定义的整型常量。
Declare integer constants using "l" or "u", as appropriate.
根据需要适当地使用“L”或“U”来声明整型常量。
Integer constants can be defined in decimal, hex or octal notation.
可以用十进制、十六进制或八进制记数法定义整数常数。
Integer constants are the numbers you type directly into your sketch, like 123.
整数是你直接写入程序中的数字,象123 一样。
Sametime USES integer constants as identifiers for various purposes, including post types.
出于多种目的,包括用于投递类型,Sametime使用整型常量作为标识符。
Expressions must have integral type and can include only integer constants, character constants, and the defined operator.
表达式必须有整数类型并且只能包括整数常量,字符常量,以及定义了的运算符。
In other words, while using classes with integer constants like this might be a passable solution, it's not a very efficient one.
换句话说,在使用这类带有整型常量的类时,该解决方案也许可行,但并不是非常有效。
For example, you can declare an enumeration for a set of integer constants associated with the days of the week, and then use the names of the days rather than their integer values in your code.
例如,您可以宣告列举来当做一组与每周日期关联的整数常数,接著在程序码中使用日期的名称而不是它们的整数值。
Your constants can be integer, character, floating-point, string, Boolean, octet or enumerated but not of type any or a user-defined type. Here are some examples.
常数可以是整数、字符、浮点数、字符串、Boolean、octet或枚举型,但不能是any类型或用户定义的类型。
The type of data is returned as an integer that represents the data type. The following static fields (constants) represent the data types
数据的类型作为一个整数返回,该整数表示数据类型。
The type of data is returned as an integer that represents the data type. The following static fields (constants) represent the data types
数据的类型作为一个整数返回,该整数表示数据类型。
应用推荐