Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- QuickBASIC 3.0 - <b>read assign data items to variables</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
READ                     Assign DATA Items to Variables

 READ variable [,variable]...

    Assigns values in DATA items to specified variables.

    variable    A numeric or string variable, or an array element.

   ----------------------------------------------------------------------

      Notes:    A single READ statement can assign multiple DATA items to
                multiple variables; or several READ statements can assign
                the same DATA item to several variables.

                Unless a RESTORE statement is executed, QuickBASIC moves
                to the next DATA item with each READ assignment. If
                QuickBASIC runs out of DATA items to READ, an Out of Data
                error occurs.

                If the variable and the data item do not match in type, a
                Syntax Error occurs.

See Also: DATA RESTORE

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson