BASIC FUNCTIONS
INPUT USING (M$, 3, 6)"ENTER
11
,S$
Same as above, but with an 'ENTER' prompt.
INPUT USING (M$,
3, 6,E)
11
ENTF.R" ,S$
SECTION 5. 10
Same as above, but after the 6th character has been entered
HUNTER will assume that the enter key has been pressed.
Remarks Entry fields can be made numeric, alphanumeric, etc., in
flexible configurations. Entries that do not fit the mask
are rejected with a bleep.
VER.V09F
INPUT USING is an extension of the standard INPUT state-
ment. However, as each entry is made by the operator, the
character is checked against the defined check string. A
value which is out of range will cause an audible bleep to
occur, rejecting the invalid entry.
The input validation string consists of defined validation
characters either in the form of a string expression e.g.
A$,B4$ etc., or a direct string enclosed in quotations.
Input validation string may
NOT be omitted.
The optional min and max expressions define the mini mum
number and maxi.mum number of entries required.
If neither
min nor max are specified then default values of min
1 and
max 95 are assumed. If maximum exceeds the number of
characters in the input validation string, then the entries
for which there are no validation characters are validated
automatically with WILD card characters.
If min=O an input
of
1
CR' only is allowed.
The values min and max can be variables or arithmetic
expressions. Min must not exceed max or a syntax error wi.11
occur. Min must not be negative or a magnitude error will
occur. Min and max must not exceed 95 or a 3yntax error
will occur.
'Enter' terminates entry. ' Enter' will not be r1ccepted if
the number of characters is less than minimum.
PAGE 5 - 52