An OScript Integer is a 32-bit signed integer and can take on any value in the range of -2,147,483,648 to 2,147,483,647.
Integer values can be obtained by:
Integer expressions are created by joining two or more Integers (using the arithmetic or bitwise logical operators) to form an expression whose result is another Integer. The following example illustrates:
Integer theLength = Length( "abcdefghijklmno" ) Integer shorter = ( theLength - 10 )
Arithmetic expressions can be created containing a mixture of Reals and Integers. When this is done, Integer math operations are performed until a Real is encountered. From that point on, Real math operations are performed.