Programmer Guide/Command Reference/WORD: Difference between revisions
From STX Wiki
Jump to navigationJump to search
m (1 revision: Initial import) |
(→WORD) |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:{{SUBPAGENAME}}}} | {{DISPLAYTITLE:{{SUBPAGENAME}}}} | ||
<code>var := WORD <var>i</var> <var>wordList</var></code> | <code>var := WORD <var>i</var> <var>wordList</var></code> | ||
→ var = 'word<sub>i</sub>' or empty if <var>i</var> is not a number or outside the range 0...nWords-1 | |||
;<var>i</var> | ;<var>i</var> | ||
:The zero-based index of the word to return (0 | :The zero-based index of the word to return (0 ≤ <var>i</var> ≤ nWords-1). | ||
;<var>wordList</var> | ;<var>wordList</var> |
Revision as of 15:22, 13 April 2012
var := WORD i wordList
→ var = 'wordi' or empty if i is not a number or outside the range 0...nWords-1
- i
- The zero-based index of the word to return (0 ≤ i ≤ nWords-1).
- wordList
- A blank separated list of words.
Select a word by index from a list of words. See also KEYWORD
.