Programmer Guide/Command Reference/KEYWORD: Difference between revisions
From STX Wiki
Jump to navigationJump to search
(initial import) |
m (1 revision: Initial import) |
(No difference)
|
Revision as of 17:31, 18 November 2010
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
.