READ WORD This command will read a word of data from the file and store it as an integer value in the variable specified.
Syntax
    READ WORD File Number, Variable
Parameters
    File Number
Integer The file number
    Variable
Integer This command will read a word of data from the file and store it as an integer value in the variable specified. A word represents two bytes
Returns
This command does not return a value.
Description
A word represents two bytes. The file specified by the file number must be open or the command will fail.
Example Code
    cls

    open to read 1,"data.dat"

    read word 1,a

    close file 1

    do

    loop

    end
See also
FILE Commands Menu Index