Read
Previous  Next

Description: Reads data from Data statements.

     Syntax:
     
Read <Variable> [, <Variable>, ...]

Part
Description
<Variable>
Required. Reads the data into the variable. If <Variable> is an integer, the data will be read and the most significant byte will be set to 0. If <Variable> is a string, then the data will be copied into a string one byte after another until a null (0) is reached.
<Variable>
Optional. You can read into multiple variables at once.

Example:

        Reload MyData
        Read a, b, c, d
        Print a, b, c, d

MyData:
        Data 1, 2, 3, 4, 5