Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Intermec Online Guide - <b>keyboard input (k)</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
KEYBOARD INPUT (K)

Purpose: Receive input from keyboard into string register $0

Format:  Ko,m,l;vvvv

Remarks: K         Specify keyboard input.

         o,m,l     Fixed-length entries o,m,l or reference to a numeric
                   register

         ;vvvv     Receive timeout: if reader does not receive data by
                   vvvv * 10 msec., then execute next program statement
                   (vvvv = 1 to 6500).

         Each single character is buffered until <return> is keyed;
         <bcksp> and <clear> keys are functional.

         A maximum of 128 characters is allowed in a string register.
         If you use a numeric register for length, numbers greater than
         128 are treated as 128.

         Data entered with this command are appended to the contents of $0.

         Multiple-read (or keying) and accumulate rules are followed for
         all operator inputs.

Examples:

         K6,3,2 allows only 6-, 3-, or 2- character entries.

         K;900 allows variable-length ASCII entries with a 9 second timeout.

         A6;3;2;900 allows only 6-, 3-, or 2- character entries with a
         9 second timeout.

         K#2,3,1;900 allows input length of the number in numeric register
         #2, 3, or 1 with a 9 second timeout.

         K allows variable-length Full ASCII input with no timeout.

See Also: A N

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson