IsAlphaNumericOrSpace |
Top Previous Next |
×V4.2Ø
Syntax - If IsAlphaNumericOrSpace <string expression> … Where: <string expression> is a literal string or a variable containing a literal string.
Description: This comparison operator is used to scan a literal string or a variable that contains a string value to insure that every character in the string is either a letter, number, or a space. This comparison returns a TRUE condition if all characters in the string are letters, numbers, or spaces (no punctuation). This comparison operator can be used with either an in-line If (the original OLIE™ syntax) or a Block If.
Sample: The following segment of a script will check the PatientName variable to be sure that it contains only letters or spaces. :CheckRecord If eof GoTo XIT Read REM This will read the policy number from the file and make sure all characters are letters, numbers, or spaces. Copy Policy File 2 9 If IsAlphaNumericOrSpace Policy GoTo Start GoTo CheckRecord REM A valid line was found, so lets process it. :Start REM Start copying variables from file
See Also:
|