...
This example will loop words in a sentence.
Code Block |
---|
//You can use a split command to split the text byusing spaces. $something = @Split("this that other", " ") show message box "I am looping words in a simple sentence" Foreach ($word in $something) { show message box "The word is '{$word'}" //The Log command below writes the message to the log file. //Logs also appear in the Logs section;. seeSee the Log tab button above the Editor. Log $word //You can use variables inline or outside quoted strings. //Log Warning "This may not be the right word" + $word. //Log Error "This is the wrong word" $word. } |
Include Page | ||||
---|---|---|---|---|
|
...