(a)
// some string definitions
STRING info "We are learning WDL";

(b)
ACTION info
{
   SET msg.VISIBLE,ON    //Sets message on
   SET msg.STRING,info;  //Sets message to "We are learning WDL"
}
ON_P show_info;

Example 2: (a) WDL example that creates a string; (b) using the Action command.

Back to Article