Instruction Manual
Language Reference • Reference 285
Publication 1398-PM601A-EN-P — October 2000
WORDS
XNPGM
Run an Xkey Routine Program Structure
Purpose Simulates pressing an Xkey from within a program if the Xkey routine has been
enabled previously with an Xn ON or Xn CONT statement.
Syntax XNPGM = number
number The number of the Xkey routine to be run: number = 1, 2, 3, 4.
Remarks Only one Xkey routine can be running at a time. If an Xkey routine is running when
the XNPGM statement is executed, the present Xkey routine ends and the new Xkey
routine is started.
See Also Xn, Xn = ON/OFF/CONT, Operator Terminal
Example
XNPGM = 1
XNPGM = 4