$TRANSB string function $TRANSB string function Syntax $TRANSB (transformation , double_precision ) Function Return a 48-byte or 96-byte string containing the binary representation of a transformation value. Parameter transformation Transformation variable or function (or compound transformation) that defines the value to be converted to a string value. double_precision Optional real-valued expression that specifies wether the transformation is returned in single-precision (48 bytes) or double-precision (96 bytes).
If double_precision is omitted or has a value of 0, the transformation is returned in single precision in a 48-byte string, otherwise the transformation is returned in double precision in a 96-byte string. This parameter is used to offer full precision while preserving backward compatibility. Details This function converts the given transformation value to the binary representation of its twelve (internal) components. The twelve values defining the transformation are the components of a 3-by-4 transformation matrix, stored by column. Each of the twelve 32-bit values is packed as four successive 8-bit characters in a string, resulting in a total of 48 or 96 characters.
(The IEEE single-precision or double-precision standard floating-point format is used for the conversion. See the description of the FLTB or DBLB real-valued function for details of the IEEE floating-point format.) The main use of this function is to convert a transformation value to its binary representation in an output record of a data file. Related Keywords $FLTB string function FLTB real-valued function TRANSB transformation function eV+Language Reference Guide, v2.x, 18319-000 Rev A Page 545