
3.18
Memory commands
Purpose
Κ
To check the total space in disk C.
Syntax
Κ
RAMSIZE% = RAM_SIZE
Example
Κ
PRINT "RAM_SIZE=",RAM_SIZE
Description
Κ
RAMSIZE%
is an integer variable to be assigned for the total
space in disk C.
Purpose
Κ
To check the total space in disk D.
Syntax
Κ
ROMSIZE% = ROM_SIZE
Example
Κ
PRINT "ROM_SIZE=",ROM_SIZE
Description
Κ
ROMSIZE%
is an integer variable to be assigned for the total
space in disk D.
Purpose
Κ
To check the free space in disk C or disk D.
Syntax
Κ
FREESIZE% = FREE_MEMORY(N%)
Example
Κ
PRINT “Free on disk C:”;FREE_MEMORY(0)
PRINT “Free on disk D:”;FREE_MEMORY(1)
…
Description
Κ
FREESIZE%
is an integer variable to be assigned for the
free speace in disk C(N%=0) or disk D (N%=1).
Purpose
Κ
To check the occupid space in disk C or disk D.
Syntax
Κ
USEDSIZE%
= DISK_USEDSIZE(
N%
)
Example
Κ
PRINT "USED C SIZE:",DISK_USEDSIZE(0)
PRINT "USED D SIZE:",DISK_USEDSIZE(1)
Description
Κ
USEDSIZE%
is an integer variable to be assigned for the
occupied space in disk C (N%=0) or disk D (N%=1).
T P C 7 0 3 0
Programming Manual Ver. 1.00
92/131