Programmer Guide/Command Reference/WORD: Difference between revisions
From STX Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:{{SUBPAGENAME}}}} | {{DISPLAYTITLE:{{SUBPAGENAME}}}} | ||
{{PG_StringCommands}} | |||
var := WORD <var>index</var> <var>word<sub>0</sub></var> [ … <var>word<sub>n</sub></var> ] | var := WORD <var>index</var> <var>word<sub>0</sub></var> [ … <var>word<sub>n</sub></var> ] | ||
Latest revision as of 10:28, 4 March 2016
var := WORD index word0 [ … wordn ]
Calling the STx command WORD
with the integer argument index will return its argument wordindex, provided index is in the range of 0…n. If it is not, the STx command will return the empty string.
- i
- The zero-based index of the argument ("word") to return (0 ≤ i ≤ n).
- word0 [ … wordn ]
- a list of string arguments, separated by blanks
See also the STx command KEYWORD
.