Clears all data stored by the DATA statement.
statement flushes (clears) all remaining data stored in the input stack by the DATA
statement. Following CLEARDATA
, the INPUT
statement issues a user prompt, rather than automatically receiving data stored by the DATA
The following example illustrates the use of the CLEARDATA
DATA "New York","Chicago","","Annapolis"
FOR x=1 TO 4
PROMPT "Missing name: "
© 1997-2019 InterSystems Corporation, Cambridge, MA