Modifying Input Processing

The input processing program may be customized to perform certain actions by using the INPUT.ARG$ field. The following is a list of the available option flags and their functions.

Option Flag

Effect on Data

"a"

Auto-CR when end of field is reached.

"b"

Causes the prompt to blink.

"e"

Forces CVS(val$,64) for custom masking.

"n"

Use only a numeric mask.

"Q" 

Mask all entry with asterisks "*". This is useful for secure input.

"q"

Do not do quick input.

"t"

TAB is treated as an input terminator that sets a CTLVAL. The default behavior is to TAB within the input field.

"w"

Do not mimic INPUTE first character wipe behavior.

"z"

Zero input - do not perform any modification input.

Control Values Processing

If the program receives a VALUE of 0, all dialogue messages are displayed in a window. Any other passed value displays messages on the last line of the current window.

Input processing, whether_ninput.utl,_ask.utl, or_yesno.utlis used, is not guaranteed to return a valid CTL system variable. Always use the value passed back in the CTLVAL variable.

Always anticipate that the application will receive a valid entry in VALUE$ and that CTLVAL may be set. The input processing programs will set the CTLVAL, regardless of the data entered. For example, a user could fill in data within a field and then press the <EXECUTE> key. Therefore, depending on the requirements of the application, check the CTLVAL prior to processing user input.