Difference between revisions of "AMOSi:Using"
Spellcoder (talk | contribs) m (1 revision(s)) |
Spellcoder (talk | contribs) m (1 revision(s)) |
(No difference)
|
Latest revision as of 01:51, 17 November 2007
an example can be found on AMOSPro_Examples:Examples/H-5/Help_52.AMOS
USING is called after a PRINT statement for making subtle changes to the way output is printed from a variable list. Special characters can be used in the format$ string, each one having a different effect.
Print Using format$;variable list.
The format string can contain the following symbols:
- print a single digit from your number. Unused digits will be replaced by spaces.
+ adds a + or - sign to the number as appropriate.
- displays a minus sign if the number is negative.
. inserts a decimal point on the number and centres it.
- centres the number but doesn`t output a decimal point.
^ prints the number in scientific, or exponential format.