
B–61863E–1/06
10. READER/PUNCHER INTERFACEPMC LIBRARY
259
SC/SC3/SC4 NB/NB2 16i/18i/21i 15i–A
f f f f
[Name]
pl_rsrd
[Description]
Receives data through the reader/puncher interface. This function
cannot be used when the interface has been opened in the data output
mode (OP=21 or 22).
[Format]
ret = pl_rsrd(P1,P2) ;
short ret ;
char *P1 ;
unsigned short *P2 ;
[Input]
*P2 Size of input character string (The maximum size is 256 bytes.)
[Output]
*P1 Input character string
’X’
’X’
’X’
’X’
P2 Size of received character string (the specified size of input
character string or smaller)
[Returns]
ret Complete code (0, 1, 2, 6, 20, 21)
[Remarks]
For the return values, see the section on completion code types.
10.3
INPUTTING DATA
THROUGH THE
READER/PUNCHER
INTERFACE
0
1
2
N–2
N–1
N
P1
ASCII code. When OP=1 or 2 is specified, the input data is
set as is.