bitmap | The value to treat as a string. |
Return: | ASSTRING returns a single STRING value. |
The ASSTRING function returns the bitmap as a string. This is equivalent to TRANSFER(bitmap,STRINGn) where n is the same number of bytes as the data in the bitmap.
Example:
INTEGER1 MyInt := 65; //MyInt is an integer whose value is 65
MyVal1 := ASSTRING(MyInt); //MyVal1 is "A" (ASCII 65)
OUTPUT(MyVal1);
// this is directly equivalent to:
// STRING1 MyVal1 := TRANSFER(MyInt,STRING1);INTEGER1 MyVal3 := (INTEGER)MyVal1;
//MyVal3 is 0 (zero) because "A" is not a numeric character
See Also: TRANSFER, Type Casting