17.08.2013 Views

Contents, cont'd. - Intermec

Contents, cont'd. - Intermec

Contents, cont'd. - Intermec

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.

SPACE$<br />

Chapter 2 Program Instructions<br />

Field of Application Function returning a specified number of space characters.<br />

Syntax SPACE$()<br />

is the number of space characters to be returned.<br />

Remarks This function is useful for more complicated spacing, e.g. in tables.<br />

Examples Printing of two left-justified columns on the screen:<br />

10 FOR Q%=1 TO 6<br />

20 VERBOFF:INPUT "", A$<br />

30 VERBON:PRINT A$;<br />

40 VERBOFF:INPUT "", B$<br />

50 VERBON<br />

60 C$=SPACE$(25-LEN(A$))<br />

70 PRINT C$+B$<br />

80 NEXT Q%<br />

90<br />

RUN<br />

END<br />

Enter:<br />

January ↵<br />

February ↵<br />

March ↵<br />

April ↵<br />

May ↵<br />

June ↵<br />

July ↵<br />

August ↵<br />

September ↵<br />

October ↵<br />

November ↵<br />

December ↵<br />

January February<br />

March April<br />

May June<br />

July August<br />

September October<br />

November December<br />

yields:<br />

<strong>Intermec</strong> Fingerprint 7.2 – Reference Manual Ed. 3 213

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

Saved successfully!

Ooh no, something went wrong!