Intel 9800758-02 Webcam User Manual


 
Commands
and
Statements
6-18
$$ The double dollar sign ($$) adds a single dollar sign to the immediate left
of
the number being formatted.
PRINT USING "$$###.##"; -48.28; 364.90
-$48.28 $364.90
($$)
specifies space for two additional characters, but the $ added takes up one posi-
tion. The exponential format cannot be used with
($$).
**$
The double asterisk-dollar sign (**$) returns the results
of
both the (**) and
($$) format characters. Exponential format cannot be used;
"**$"
allows for
three additional digit positions, one
of
which
is
the dollar sign.
The comma (,)
is
placed to the left of a decimal point to print a comma to the
left
of
every third digit on the left
of
the decimal point. The comma also
specifies another digit position. A comma to the right
of
the decimal point
prints in that position. The comma cannot be used with exponentiation.
PRINT USING
"11###11,.##";
92114.84
92,114.84
tttt Four carat signs (or vertical arrows) specifying exponentation. The carats
or
or arrdws are placed after the numeric format characters. Any decimal point
AM
format may be used. The significant digits are left justified, and the exponent
is
adjusted. The comma and floating ($) cannot be used when exponentiation
is
specified.
070
The percent
(070)
character indicates that a number larger than the given
format has been encountered.
BASIC-80 returns the number itself preceded
by a
(070)
sign; or, if rounding the number causes it
to
exceed the specified
field, the rounded number
is
printed, preceded by a
(070)
sign.
If
the number
of specified digits exceeds 24, an ILLEGAL FUNCTION CALL error
results.
PRUN
PRINT USING
"11#.1111";
40.48;
766784;
99997
40.48%
766784.00%
99997.00
The
PRUN
command starts execution
of
a program stored in PROM. The
address
of
the program
is
an integer argument. The program must be saved in
ASCII, and followed by a (Control-Z).
PRUN
address
PUT
The
PUT
statement transfers
data
from the previously formatted random file buffer
to the specified disk 'sector. The
PUT
statement requires the file number assigned
when the random file was opened and the sector the data goes to.
If
no sector
number
is
specified, and no
data
have been written to the disk, the first disk sector
is
written to.
If
data have been written to the disk, the number
of
the last sector
written increments, and the next sector
is
written to. The sector number may not
exceed 2048.
BASIC-80