ABS
ABS
(<
numeric expression>)
PRINT ABS(-67.98)
67.98
FUNCTION: Returns the abso
lute value of the given expression -which primarily means that negative numbers are returned as
positive.
Associated keywords:
SGN
AFTER
AFTER
<
integer expression>[,<integer expression>]
GOSUB
<line number>.
AFTER 200,2 GOSUB 320
COMMAND: Invoke a subroutine after a given time period has elapsed. The first <integer
expression>, indicates the period of the delay, in units of 1/50 second, and the second <integer
expression>, (in range 0....3), indicates which of the four available delay timers should be used. See
also Chapter 10.
Associated keywords:
E V E R Y , R E M A I N
ASC
ASC (<
string expression>)
PRINT ASC("X")
88
FUNCTION: Gets the numeric value of the first character of a string as long as ASCII characters are
used.
Associated keywords:
CHR$
Содержание CPC464
Страница 1: ......
Страница 32: ...or you can type 3e1 1e1 ENTER 300 2 3000x1000 Type 3e3 1e3 ENTER 3000000 3 3000x0 001 Type 3e3 1e 3 ENTER 3 ...
Страница 102: ...PRINT 10 AND 12 Results in 8 PRINT 10 AND 1000 Results in 8 again ...
Страница 118: ...TO DO DRAW THIS PAGE ...
Страница 219: ...actual value may be made to vary during the execution of a program ...
Страница 240: ...Text and WINDOW planner Mode 2 80 Columns ...
Страница 241: ......
Страница 245: ...Sound envelope Music planner sheet ...