BCT 0254

ACCEPT (0)

The ACCEPT BCT requests data from the operator.

The format of this BCT is:

      BCT 0254
      BUN
P1.   ACON  (input area, must be mod 2)
P2.   CNST 1 UN = 0  (flag indicating ACCEPT)
P3.   CNST 2 UN = XX (size of input area, in bytes)
P4.   CNST 1 UN = 0  (filler to make args mod 2)

P1 must be on a mod 2 address.

P3 cannot exceed 60 bytes. If P3 is equal to zero or greater than 60, 60 is used.

An AX Keyboard command may be entered and saved prior to a program executing the ACCEPT BCT. If input text from a previously entered AX command is available, the text is inserted into the input area and the program is reinstated immediately. If the size of the text exceeds P3, the text is truncated and no error message is displayed.

If no previous text is available, the program is suspended until an AX command is entered. If the number of characters entered exceeds P3, the operator is notified with an error message on the ODT and that AX command is rejected.

In either case, if fewer than P3 characters are input, the data is left-justified in the buffer. An ETX (03) follows the last character input. The buffer contents following the ETX are undefined.

If exactly P3 characters are input, no ETX character is inserted and no error occurs.

DISPLAY (1)

WAIT (2)

ACCEPT FROM REMOTE SPO (3)

DISPLAY TO REMOTE SPO (4)

SORT (5)

SORT RETURN (6)

DISPLAY LINES (8)

BREAKOUT CONTROL (9)

bct/0254.txt · Last modified: 2008/12/17 15:59 by scott
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki