ABL provides the PUT-datatype statements shown in the following table.

Table 1. PUT-datatype statements
Statement Description
PUT-BITS Uses the bit representation of an integer to set a given number of bits at a given location within another integer
PUT-BYTE Writes an INTEGER value to the specified 1-byte location
PUT-BYTES Writes the contents of a RAW or MEMPTR variable to the specified byte location of a RAW or MEMPTR variable
PUT-SHORT Writes an INTEGER value to the specified 2-byte location
PUT-UNSIGNED-SHORT Writes an unsigned INTEGER value to the specified 2-byte location
PUT-LONG Writes an INTEGER or INT64 value to the specified 4-byte location
PUT-UNSIGNED-LONG Writes an unsigned INTEGER or INT64 value to the specified 4-byte location
PUT-INT64 Writes an INTEGER or INT64 value to the specified 8-byte location
PUT-FLOAT Writes a decimal value to the specified 4-byte location as a single-precision floating-point value
PUT-DOUBLE Writes a decimal value to the specified 8-byte location as a double-precision floating-point value
PUT-STRING Writes a character string value to the specified location, either null terminated or for a specified number of bytes

For more information on these statements, see ABL Reference.