17.07.2013 Views

GWBASIC User's Manual

GWBASIC User's Manual

GWBASIC User's Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

GW-BASIC <strong>User's</strong> Guide<br />

LPRINT and LPRINT USING Statements<br />

Purpose:<br />

To print data at the line printer.<br />

Syntax:<br />

LPRINT [list of expressions][;]<br />

LPRINT USING string exp; list of expressions[;]<br />

Comments:<br />

list of expressions consists of the string or numeric expression separated by semicolons.<br />

string expressions is a string literal or variable consisting of special formatting characters.<br />

The formatting characters determine the field and the format of printed strings or numbers.<br />

These statements are the same as PRINT and PRINT USING, except that output goes to the line<br />

printer. For more information about string and numeric fields and the variables used in them, see<br />

the PRINT and PRINT USING statements.<br />

The LPRINT and LPRINT USING statements assume that your printer is an 80-character-wide<br />

printer.<br />

To reset the number of characters that you can print across the printed page (assuming that your<br />

printer is wider than 80 characters), see the WIDTH statement.<br />

file:///C|/Documents%20and%20Settings/Lorenzo/Desktop/GW%20Basic/LPRINT.html28/03/2004 21.29.31

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!