Memory commands – Argox PA-20 Basic Programming Manual User Manual
Page 95

PT-Basic Programming Manual Ver. 1.00
94/143
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).