Search    
 

   
 

 
PRAGMA PROGRAM REFERENCE MANUAL
Index
All Operation

Expand All      ADDENDUM
INPUT IN Standard Verb Input/Output Operation
Target = LENGTH (LT)

Accepts input from the keyboard of a maximum of 512 characters and writes it
into a noun you designate. INPUT accepts spaces, letters, digits, punctuation
marks, special characters or a combination of these.
INPUT can only be terminated by a <RETURN/ENTER>.

LENGTH contains a count of the characters accepted.

INPUT into the noun NOUN

NOUN is the noun you want the input data to be copied to.



SEE ALSO: INPUT LAYOUT / INPUT NUMBER / INPUT STRING

DISCUSSION


INPUT accepts: spaces, letters, digits, punctuation marks, special characters (for example , &, %), or a combination of these.

The maximum number of characters accepted is 512.

Use INPUT LAYOUT if you want to limit the operator's input to a certain number of characters.

Every INPUT operation (as well as every $INPUT, CUT, JOIN, or RECEIVE) writes a new value to the target noun LENGTH. To preserve the contents of LENGTH, copy it to another noun before using INPUT, $INPUT, CUT, JOIN, or RECEIVE again.


The following editing keys are allowed:


INS Toggles insert mode on/off.
DEL Delete character above cursor and scroll characters.
BACKSPACE Deletes character to the left of the cursor and scrolls the
characters above and to the right of the cursor to the left
by 1.
LEFT ARROW Moves the cursor to the left by 1.
RIGHT ARROW Moves the cursor to the left by 1.
HOME Moves the cursor to the start of the value.
END Moves the cursor to 1 past the end of the value.
CTRL-LEFT Deletes everything to the left of the cursor and scrolls
characters above and to the right of the cursor left to the
home position.
CTRL-RIGHT Deletes everything to the right of the cursor.
ESC Restarts. Clears the current value and redisplays the
original value. The first character delete and replace
action is disabled.


will terminate the input.

The key is remappable and may be substituted by another key, thus freeing the key for other duties.



EXAMPLE

INPUT into the noun CUSTOMER NUMBER

Operator input is accepted and written into the noun CUSTOMER NUMBER.



 

CustomWare® is a registered trademark of CustomWare Designs, Inc. All rights reserved.
CustomWare® is a registered servicemark of CustomWare Designs, Inc.  All rights reserved.
All images and designs on this web site are copyrighted© 2021.
v t