HEX$
H E X $ ( < u n s i g n e d i n t e g e r e x p r e s s i o n > [ , < i n t e g e r e x p r e s s i o n > ] )
P R I N T H E X $ ( 6 5 5 3 4 )
F F F E
FUNCTION: Converts the number given into Hexadecimal form. (See Appendix II). The second
(integer expression can be used to specify the minimum length of the result.
Associated keywords:
BIN$,STR$
HIMEM
H I M E M
?HIMEM
43903
VARIABLE: Gives the address of the highest byte of memory used by BASIC, and can be used in
numeric expressions in the usual way.
Before resetting the highest byte of available memory using the
MEMORY
command, it is advisable
to issue the command
mm= HIMEM
, You will thereafter be able to return to the previous memory
capacity by issuing the command:
MEMORY mm.
Associated keywords:
FRE,MEMORY
IF
IF
I F < l o g i c a l e x p r e s s i o n > T H E N < o p t i o n p a r t > [ E L S E < o p t i o n p a r t > ]
I F < l o g i c a l e x p r e s s i o n > G O T O < l i n e n u m b e r > [ E L S E < o p t i o n p a r t > ]
I F A>B THEN A=C ELSE A=D
I F A>B GOT0 1000 ELSE 300
COMMAND: A very widely used command that is used to conditionally determine branch points in a
program. The logical part is evaluated, and if true the
THEN
or
GOTO
part is executed, if false, the
program skips to the
ELSE
part, or merely passes onto the next line. The statements may be nested
to any depth, limited by line length. The
IF
is terminated by the line end. It is not permissable to
have further statements that are independent of the
IF
on the same line.
Associatedkeywords:
THEN,ELS E , G O T O , O R , A N D , W H I L E
Summary of Contents for CPC464
Page 1: ......
Page 102: ...PRINT 10 AND 12 Results in 8 PRINT 10 AND 1000 Results in 8 again ...
Page 118: ...TO DO DRAW THIS PAGE ...
Page 219: ...actual value may be made to vary during the execution of a program ...
Page 240: ...Text and WINDOW planner Mode 2 80 Columns ...
Page 241: ......