Radio Shack TRS-80 PC-3 Owner's Manual page 215

Table of Contents

Advertisement

APPENDIX C FORMATTING OUTPUT
It is sometimes important or useful to control the format as well as the content of output. The PC-3 Pocket Computer controls
display formats with the USING verb. This verb allows you to specify:
" The number of digits
" The location of the decimal point
" Scientific notation format
" The number of string characters
These diffrerent formats are specified with an "output mask". This mask may be a string constant or a string variable:
10: USING
"####"
20:
M$
=
"&&&&&&"
30: USING M$
When the USI NG verb is used with no mask, all special formatting is cancelled.
40: USING
A USING verb may also be used within a PRINT statement:
50: PRINT USING M$, N
Wherever a USING verb is used, it will control the format of all output until a new USING verb is encountered.
218

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents