Amos Professional Manual  Contents  Index

Text


.
full stop character

When used with PRINT USING, the full stop (period) character places a decimal point in a number, and automatically centres it on screen. For example:

E> Print Using ".###";Pi#

;
semi-colon character

This centres a number, but will not output a decimal point. For example:

E> Print Using "Pl is #;###";Pi#

^
exponential (circumflex) character [Shift]+[6]

This causes a number to be printed out in exponential format. For example:

E> Print Using "This is an exponential number^";10000*10000.5

Sending text to a printer
Chapter 10.3 is devoted to the exploitation of the printer device by AMOS Professional. The following command offers easy access to a printer from inside an AMOS Professional program or via Direct mode.

LPRINT
instruction: output a list of variables to a printer
Lprint variable list

The LPRINT command is exactly the same as a PRINT command, but it sends data to a printer instead of the screen, like this:

X> Lprint "Greetings from AMOS Professional!"
Back    Next
05.06.14