Casio FX-890P Owner's Manual page 43

Casio personal computer owner's manual
Table of Contents

Advertisement

CLEAR
PURPOSE: Clears all variables and determines the memory mapping in accordance
with the parameters entered.
FORMAT:
CLEAR
[ [strings area size]
Numeric expression
EXAMPLE: CLEAR
CLEAR 400
CLEAR 4096,512,6144
PARAMETERS:
1. Strings area size: Determines the area used for strings. The initial setting
when ALL RESET is executed is 4096. The current value can be obtained
through FRE 3.
2. Assembler area size: Determines the area used for assembler programs. The
initial setting when ALL RESET is executed is 0. The current value can be
obtained through FRE 6.
3. Variables area size: It has to be bigger than the sum of strings and assembler
area sizes to avoid a "BS Error". The current value can be obtained through
FRE 2.
EXPLANATION:
1. Clear all variables
2. Strings, assembler or variables areas cannot be set during program execution.
3. If assembler area size and variable area size are omitted, these values will
remain unchanged.
4. If strings area size is omitted, the CLEAR statement will clear all variables
without changing memory mapping.
SEE: FRE, SYSTEM
FRE
PURPOSE: Returns memory area size in accordance with argument.
FORMAT:
FRE
argument
Numeric expression
EXAMPLE: PRINT FRE 1
PARAMETERS: the argument can have the value 1-6:
1. Overall free memory (in Bytes)
2. Overall variables area size (in Bytes). FRE 2 = FRE 3 + FRE 4
3. String variables area size (in Bytes)
4. Numeric variables + assembler area size (in Bytes). FRE 4 > FRE 6
5. Free memory for string variables (in Bytes). FRE 5 <= FRE 3
6. Assembler area size (in Bytes)
[ , assembler area size , variables area size ] ]
Numeric expression
43
A
0
Numeric expression
F
0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Z-1grZ-1

Table of Contents