Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This example will loop words in a sentence.

Code Block
//WeYou can use a split command to split the text by 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; see 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
}

Multiexcerpt fast include block macro
nameResources
templateData[]
pageHow to Article - Include Page Stuff
addpanelfalse

None

Include Page
Snippet - How-to Foot - Aria
Snippet - How-to Foot - Aria
Multiexcerpt fast include block macro
nameRelated Articles
templateData[]
pageHow to Article - Include Page Stuff
addpanelfalse
Filter by label (Content by label)
showLabelsfalse
max10
showSpacefalse
cqllabel in ( "kb-how-to-article-aria" , "kb-tech-aria" , "value" , "input" , "get" , "text" , "message" , "box" ) and label in ( "kb-command-reference-aria" , "kb-how-to-article-aria" , "kb-tech-aria" )
Include Page
Snippet - Footer - Tech
Snippet - Footer - Tech