Wednesday, April 6, 2011

jBase Infobasic Command DATA

temenos t24 tutorial
The DATA statement stacks the series of expressions on a terminal input FIFO stack. Terminal input statements will then treat this data as if entered at the keyboard.

Command Syntax

DATA expression {, expression ...}

Syntax Elements

The expression may evaluate to any data type; views each comma-separated expression as one line of terminal input.

Notes

The data stacked for input will subsequently be treated as input by any jBASE BASIC program.Therefore use it before PERFORM/EXECUTE, CHAIN or any other method of transferring program execution. Use also to stack input for the currently executing program; do not use to stack input back to an executing program.
When a jBASE BASIC program detects stacked data, it is taken as keyboard input until the stack is exhausted. The program will then revert to the terminal device for subsequent terminal input. Stacked data delimited by field marks (xFE) will be treated as a series of separate terminal inputs.

See also CLEARDATA

Example

DATA "Y", "N", "CONTINUE" ;*// stack input for prog

EXECUTE "PROGRAM1" ;*// execute the program

0 comments:

Post a Comment

 

Blog Info

A Pakistani Website by Originative Systems

Total Pageviews

Tutorial Jinni Copyright © 2015 WoodMag is Modified by Originative Systems