The STx comnmand
WORDS returns the number of arguments ("words" in a broader, or more technical, meaning) supplied to the command.
var := WORDS arg1 arg2 … argn
Note the difference between what is called a word in everyday-use, and what is called a word (an argument) here:
Generally, if you supply n arguments to the
WORDS command, it will return the number n, even if one of the arguments should consist of more than one "word" of natural language.
#v1 := WORDS don`'t come easy // #v1 will be set to 3 #v2 := WORDS 'don`'t come' easy // #v2 will be set to 2 #v3 := WORDS 'don`'t' 'come easy' // #v3 will be set to 2, too #v4 := WORDS 'don`'t come easy' // #v4 will be set to 1