dos_compilers/Microsoft QuickBASIC v3/manual/ng18196.html
2024-07-01 13:00:14 -07:00

50 lines
1.7 KiB
HTML

<HTML>
<HEAD><TITLE>QuickBASIC 3.0 - Long Entry</TITLE></HEAD>
<BODY>
<A HREF="ng17bbd.html">[&lt;&lt;Previous Entry]</A>
<A HREF="ng320.html">[^^Up^^]</A>
<A HREF="ng18562.html">[Next Entry&gt;&gt;]</A>
<A HREF="menu.html" >[Menu]</A>
<A HREF="info.html">[About The Guide]</A>
<HR>
<PRE>
<B>LINE INPUT Read Line from Keyboard, Ignoring Delimiters</B>
<B>LINE</B> <B>INPUT</B>[;]["<U>prompt</U>";] <U>stringvar</U>
Assigns a line of keyboard input (up to 255 characters) to a string
variable.
; If a semicolon is included directly after the INPUT
keyword, QuickBASIC does not issue a carriage return/line
feed after receiving the user's input.
<U>prompt</U> A string constant supplying a prompt to guide the user.
<U>stringvar</U> The name of a string variable that will receive input.
----------------------------------------------------------------------
<B>Notes:</B> LINE INPUT does not automatically display a question mark.
If you want a question mark, include it within a prompt
string.
Unlike INPUT, LINE INPUT ignores all delimiters.
Everything entered at the keyboard, including quote marks
and commas, is treated as part of the input string.
</PRE>
<HR>
<B>See Also:</B>
<A HREF="ng141ee.html">INKEY$</A>
<A HREF="ng157f1.html">INPUT$</A>
<A HREF="ng148c5.html">INPUT</A>
<A HREF="ng151dd.html">INPUT #</A>
<A HREF="ng18562.html">LINE INPUT #</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>