KEYWORD

From STX Wiki
< Programmer Guide‎ | Command Reference
Revision as of 15:05, 17 May 2010 by 193.171.195.8 (talk) (initial import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

KEYWORD

var := KEYWORD testValue keywordList [ /F [ /C ]]

-> var = 'indexOfKeyword'InList or –1 if not found

testValue
The keyword or index to test for in the keywordList.
keywordList
A blank separated list of keywords.
/F
If specified, the whole word is compared (abbreviations are not found).
/C
If used in conjunction with /F, the comparison is case sensitive.

Find a keyword in a list of keywords. The value test can be an index (0 to count-1), a keyword or an abbreviation of a keyword. The command returns the zero-based index or -1 if the testValue is not in the keyword list. See also WORD.

Navigation menu

Personal tools