48
510 PRINT "THE FAHRENHEIT TEMP IS";F
520 RETURN
600 C=(F-32)*5/9
610 PRINT "THE CELSIUS TEMP IS";C
630 RETURN
REFERENCE SECTION
The REFERENCE SECTION contains a brief explanation of all the commands and statements
you will use in this chapter. Refer to this when you need help.
CLEAR
The CLEAR statement is used to assign more memory space for the string variables.
Example
:
10 Clear 100
This command will assign 100 bytes of memory for strings. If the
CLEAR
command is
not used, the computer will assume the number of bytes of memory for strings to be 50.
The use of the
CLEAR
command only will reserve the same number of bytes as the default
value. However, if a value follows the
CLEAR
command, the computer will assign the number
of bytes of that value. If you want to use more strings in your program, set this number
to a larger one but, at the same time, you will have less space for your program.
CONT
Also see
STOP
This command causes the program to resume executing after encountering the BASIC
command called
STOP
. The program will carry on with the next statement after
STOP
.
You can type
CONT
to resume the program after you hit the
Shift
and
Break
keys.
Summary of Contents for PreComputer Prestige
Page 1: ...COURSE BOOK...