beautypg.com

Rpbasic-52 programming guide – Remote Processing BASIC 52 User Manual

Page 44

background image

RPBASIC-52 PROGRAMMING GUIDE

2-25

DATA

Syntax:

D A T A expr [,expr,...]
Where: expr = numeric data.

Function:

I t is a n e x p re s si o n l i st u se d b y R E A D .

Mode:

Run

Use:

DATA 23.4,17,3.2,PI*3

Cards:

All

D E S C R IP T I ON

Elements of a DATA statement are sequentially retrieved by the READ instruction. Multiple DATA
expressions on a single program line must be separated by commas. There must be no spaces between expr
and the comm as.

See RES TORE for more information and exam ples.

RELATED

R E A D , R E ST O R E