The Address data type is obsolete. Use Pointer instead.
DataFlex Address types are used to declare variables for storing the memory address of a variable.
You can assign a value to an address variable with the AddressOf function. This command will retrieve the memory address of a named variable and return it to the Address variable.
String sName
Address aNameVar
Move 'John' to sName
Move (AddressOf(sName)) to aNameVar
The above example first declares a string variable. Next a value is assigned to the string. This allocates memory to the string. Next the memory address of the string is stored in the address variable aNameVar.
Notes: A variable's address is not allocated until a value is first assigned to it. When string variables grow in size, their address in memory may change.
For 32-bit: 0 to 4,294,967,295
For 64-bit: 0 to 18,446,744,073,709,551,615
For more information refer to Declaring Variables and the Address command.