Try OpenEdge Now
skip to main content
Programming Interfaces
Input/Output Processes : Alternate I/O Sources : Changing the input source of a procedure : Reading input with control characters
Reading input with control characters
You can use the BINARY option of the INPUT FROM statement to read control characters. Input sources often contain control characters that affect the format or quantity of data that you receive. For example, a text file might contain NUL ("\0") characters to terminate character strings. Without the BINARY option, ABL ignores all input on a line after the first NUL character. The BINARY option allows you to read all the data in the file, including any NUL and other non-printable control characters without interpretation.