UBigInt

See Also: Declaring Variables, Variable Declaration Commands, Struct, Integer, BigInt

Purpose

Declares one or more UBigInt (eight byte unsigned integer) variables.

Syntax

To declare UBigInt variables

UBigInt {identifier} [… {identifier}]

Where

To declare array variables of type UBigInt

UBigInt{dimension-list} {identifier} […{identifier}]

Where

What It Does

The UBigInt command declares unsigned integer variables of eight bytes in the range whose range is 0 to 18446744073709551615 (18,446,744,073,709,551,615).

Multiple variables may be declared on one command line, with their names separated from each other by spaces.

Examples

Procedure DoTest

    UBigInt ubiMyVar

 

    Move 1000000000000000 To ubiMyVar

End_Procedure

This example declares a UBigInt variable named ubiMyVar and initializes it.

 

UBigInt[] siLightYears

This example declares 1 dynamic array variable, named siLightYears, containing an undefined number of elements of type UBigInt.

UBigInt[5] siLightYears

This example declares 1 static array variable, named siLightYears, containing 5 of elements of type UBigInt.

UBigInt[][3] siLightYears

This example creates a two-dimensional dynamic array variable named siLightYears, containing an undefined number of elements of type UBigInt. Conceptually, this represents a rectangular array with an undefined number of rows, each of 3 columns.

You can declare dynamic multi-dimensional arrays where all dimensions are dynamic; these are called jagged arrays.

Notes