
7-6
Section
Details of BASIC Commands
207
pinf
Syntax:
PINF
[(
ALL
| <program expression>)]
Description:
Command. Displays information about the specified BASIC program area.
Remarks:
<program expression> is an integer in the range: [1…4]. If the program expression is outside the
allowable range an “ILLEGAL FUNCTION CALL” error (code B005) will result.
Alternatively information about all BASIC program areas can be displayed by specifying
PINF
ALL
.
If no argument is supplied to the
PINF
command information about the current program area will
be provided.
The name of the specified program areas, their read/write status, number of bytes used, number of
bytes of intermediate code used, and available free space will be displayed as shown below.
P1
: NAME
[R/W]
NUMBER OF BYTES USED
P2
: NAME
[R/W]
NUMBER OF BYTES USED
P3
: NAME
[R/W]
NUMBER OF BYTES USED
P4
: NAME
[R/W]
NUMBER OF BYTES USED
LIB
:
NUMBER OF BYTES USED
I_CODE:
NUMBER OF BYTES USED
AVAILABLE FREE SPACE
P1 through P4 are program numbers 1 through 4, a write-protect status of “R” is read-only and
“R/W” is read/write, “LIB” is system-reserved, and “I_CODE” is the intermediate code.
The intermediate code of the program that will be executed is created when the ASCII Unit is
started (RUN). In some cases there is not enough memory available to create the intermediate
code, so it is advisable to execute the RUN command and check the size of the I_CODE and the
available free space. The memory available after creation of the intermediate code can be used for
applications such as the variable area.
Examples:
> PINF ALL
P1
: TEST
[R/W]
6523 BYTES
P2
:
[R/W]
0 BYTES
P3
:
[R]
2876 BYTES
P4
: MY_PROG
[R]
23231 BYTES
LIB
:
0 BYTES
I_CODE
:
13046 BYTES
157890 BYTES FREE
>
See also:
PGEN
,
PMEM
,
PNAME
Summary of Contents for C200H-ASC11
Page 1: ...C200H ASC11 ASC21 ASC31 ASCII Units Operation Manual Revised June 2000...
Page 2: ...iv...
Page 4: ...vi...