OScript API/Built-in Package Index |
An OScript Long is a 64-bit signed integer and can take on any value in the range of -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807.
Long values can be obtained by:
Long expressions are created by joining two or more Longs (using the arithmetic or bitwise logical operators) to form an expression whose result is another Long. The following example illustrates:
Long big = 2147483649 Long smaller = ( big - 10 )
Arithmetic expressions can be created containing a mixture of Reals, Longs and Integers. When this is done, Integer math operations are performed until a Long or Real is encountered. Long operations are performed until a Real is encountered. From that point on, Real math operations are performed.
Copyright © 2021 OpenText Corporation. All rights reserved. |