53 lines
2.1 KiB
HTML
53 lines
2.1 KiB
HTML
<HTML>
|
|
<HEAD><TITLE>QuickBASIC 3.0 - Long Entry</TITLE></HEAD>
|
|
<BODY>
|
|
|
|
<A HREF="ngbba5.html">[<<Previous Entry]</A>
|
|
<A HREF="ng320.html">[^^Up^^]</A>
|
|
<A HREF="ngc42b.html">[Next Entry>>]</A>
|
|
<A HREF="menu.html" >[Menu]</A>
|
|
<A HREF="info.html">[About The Guide]</A>
|
|
<HR>
|
|
<PRE>
|
|
<B>DATA Store Constant(s) for Retrieval via READ</B>
|
|
|
|
<B>DATA</B> <U>constant1</U> [,<U>constant2</U>]...
|
|
|
|
Stores one or more constants, of any type, for subsequent access via
|
|
READ statements.
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
<B>Notes:</B> DATA statements are nonexecutable statements that supply a
|
|
stream of data constants for use by READ statements. All
|
|
the items supplied by all the DATA statements in a program
|
|
make up one continuous string of information that is
|
|
accessed in order by your program's READ statements. Use
|
|
RESTORE to reset the pointer to the first item in a
|
|
specified DATA statement.
|
|
|
|
You may put as many constants (expressions are not
|
|
allowed) in a single DATA statement as will fit on one
|
|
line, and your program may have any number of DATA
|
|
statements, positioned anywhere in the program.
|
|
|
|
String constants in DATA statements do not need to be
|
|
surrounded by quote marks, unless they contain quote marks
|
|
themselves, or colons, or commas, or significant leading
|
|
or trailing blanks.
|
|
|
|
If you wish to add a comment at the right side of a DATA
|
|
statement, use :REM. An apostrophe (single quote) will be
|
|
treated as part of a DATA item.
|
|
</PRE>
|
|
<HR>
|
|
<B>See Also:</B>
|
|
<A HREF="ng2a3e4.html">READ</A>
|
|
<A HREF="ng2af74.html">RESTORE</A>
|
|
<HR>
|
|
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
|
|
Written by <A HREF="http://www.acemake.com/hagbard">Dave Pearson</A>
|
|
<HR>
|
|
</BODY>
|
|
</HTML>
|