DATA

DATA

STATEMENT CONTAINING A STREAM OF CONSTANTS, TO BE USED BY "READ"

  • Type: Directive
  • Parameters: n
  • Group: Reference

ACTION

The statement DATA is not executable, it supplies a stream of constants for reading with READ command.

SYNTAX: DATA

USE

  • The statement DATA is used to insert a stream of constants inside the program source.

ERROR

  • None.

EXAMPLE

dim a,b,c,d$

data 1,2,3,"Hello"

read a:print a

read b:read c:print b:print c

read d$:print d$

SEE ALSO

READ

RESTORE