
Series 30i/ 31i/ 32i-A
C executor library for conversion
Programming manual
01 04.05.06
S. Hasegawa
New registration
B-64183EN/01
EDIT
DATE
DESIG.
DESCRIPTION
54/226
DRAW.NO.
3.4.3
Control a Key-in Line
[Name]
pl_keydef
[Syntax]
#include <pmclib.h>
short pl_keydef(short * cntl);
[Arguments]
Input
cntl: Key-in line control information
cntl +0 CF Key-in line control flag
+2 LN Maximum number of input characters
+4 LA Display attribute
+6 X Column position
+8 Y Line position
+10 PN Number of prompt characters
+12 PA Prompt display attribute
+14 S1 S2 STRING: Prompt character string
+16 S3 S4
... ...
+30 S15 S16
NULL
#7 #6 #5 #4 #3 #2 #1 #0
CF KYMMK KYDSP KYDPS KYPRM
KYDSP: Echo-back display is:
= 0: Not provided
= 1: Provided
KYDPS: The echo-back display position (valid when KYDSP = 1) is:
= 0: Standard display position
= 1: Changed
KYPRM: Prompt display (valid when KYDSP = 1) is:
= 0: Not provided
= 1: Provided
KYMMK: Display of ">" (valid when KYDSP = 1) is:
= 1: Provided
= 0: Not provided
LN: Maximum number of input characters
Set the maximum allowable number of characters input on the