44 lines
1.5 KiB
HTML
44 lines
1.5 KiB
HTML
<HTML>
|
|
<HEAD><TITLE>QuickBASIC 3.0 - Long Entry</TITLE></HEAD>
|
|
<BODY>
|
|
|
|
<A HREF="ng2a131.html">[<<Previous Entry]</A>
|
|
<A HREF="ng320.html">[^^Up^^]</A>
|
|
<A HREF="ng2a6f2.html">[Next Entry>>]</A>
|
|
<A HREF="menu.html" >[Menu]</A>
|
|
<A HREF="info.html">[About The Guide]</A>
|
|
<HR>
|
|
<PRE>
|
|
<B>READ Assign DATA Items to Variables</B>
|
|
|
|
<B>READ</B> <U>variable</U> [,<U>variable</U>]...
|
|
|
|
Assigns values in DATA items to specified variables.
|
|
|
|
<U>variable</U> A numeric or string variable, or an array element.
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
<B>Notes:</B> A single READ statement can assign multiple DATA items to
|
|
multiple variables; or several READ statements can assign
|
|
the same DATA item to several variables.
|
|
|
|
Unless a RESTORE statement is executed, QuickBASIC moves
|
|
to the next DATA item with each READ assignment. If
|
|
QuickBASIC runs out of DATA items to READ, an Out of Data
|
|
error occurs.
|
|
|
|
If the variable and the data item do not match in type, a
|
|
Syntax Error occurs.
|
|
</PRE>
|
|
<HR>
|
|
<B>See Also:</B>
|
|
<A HREF="ngbf36.html">DATA</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>
|