Script control

Previous Next

This section lists Blend directives related to script control.

pc:call

Calls directives represented by nodes in a different location in the current script, or in an external file.

pc:case

In a pc:switch directive, identifies a script section that is only executed if a variable value meets the stated condition.

pc:default

In a pc:switch directive, executes an action if a variable value does not meet any of the stated alternatives.

pc:defs

Creates a script section for content that is not written to the output.

pc:each

Iterates over a set of script nodes.

pc:else

Identifies a script section that is executed only if some previous section is not executed.

pc:evaluate

Returns the outcome of a USoft Blend function.

pc:if

Introduces script sections that are, or are not, executed only if a condition is met.

pc:if-not-then

Subjects a script section to the reverse of a condition.

pc:if-then

Subjects a script section to a condition.

pc:switch

Executes different actions depending on the value of a variable.

pc:terminate

Terminates the script.

pc:then

Identifies a script section that is executed only if some condition is met.

pc:void

Executes a USoft Blend function.