40
Multiplication/Times (*) Operator
This operator multiplies two numbers, or can be used for creating a string with a repeating value. The
numbers and strings can be either variables or literals.
For example:
This expression...
... resolves to this value.
4*5 20
"Hello"*3 "HelloHelloHello"
3*"Hello" 0
Division/Divide (/) Operator
The divide operator is valid only for numerical values and variables. Use this operator to divide one
numerical value by another. The resultant type is an integer value.
[[what is error]]
For example:
This expression...
... resolves to this value.
10/3 3
10/2 5
Equal Comparison (==) Operator
The equal comparison operator will compare two tokens, which can be strings or integers. The
expression will return 1 if the two tokens are equivalent, and 0 if they are not.
For example, assuming
MyNumber
has an integer value of
4
, and
MyName
has a string value of
"John"
:
This expression...
... resolves to this value.
MyNumber==4 1
MyNumber=="4" 1
MyNumber==5 0
MyName=="John" 1
0=="John" 1
Содержание CRM-WIC
Страница 1: ...Reference Manual Programming Guide Room Monitor Web Intelligent Controller Model CRM WIC...
Страница 7: ...7 Box Contents Box Contents for the CRM WIC Web Intelligent Controller Model CRMWIC Power Adapter...
Страница 8: ...8 Hardware User Interface Hardware User Interface for the CRM WIC...
Страница 16: ...16 For full details see the RPC section at the end of this manual...
Страница 43: ...43 This expression resolves to this value 0 1 4 3 1 Hello Hello 0...
Страница 98: ...98 Index...