
277
Formats for Storing Variables in Memory
Appendix D
VARPTR (Variable Name)
Function
Assigns the memory address where the variable value is stored.
Notation Example
B& = VARPTR (A)
Details
• Assigns the memory address to the area where variable data specified for the variable name is stored.
• Shows the address of the pointer to where character data is stored for character variables.
Relationship between Variable Type and VARPTR Address
Rightmost 8 bits
Short integer variable
Leftmost 8 bits
Address
Rightmost position of stored address
Leftmost position of stored address
String array
Address
8 bits
Long integer variable
Leftmost 8 bits
Address
8 bits
Rightmost 8 bits
Double-precision real number variable
Address
Rightmost 8 bits of fixed point
Signal and exponent
Middle 8 bits of fixed point
Rightmost 8 bits of fixed point
Single-precision real number variable
Address
Leftmost 7 bits of mantissa
Signal and exponent
Leftmost 7 bits of mantissa
Summary of Contents for C200H-ASC11
Page 1: ...C200H ASC11 ASC21 ASC31 ASCII Units Operation Manual Revised June 2000...
Page 2: ...iv...
Page 4: ...vi...