Skip to main content
You have permission to edit this article.
Edit

Block Directives

  • Updated

Some code directives have the extra status of being block directives. Blocks have beginning and end statements and may contain a mixture of code and data chunks within themselves. An example block directive is a FOR loop:


[% for array_value as item %]
    stuff happens
[% end %]

[% for array_value as item;
    code;
    code;
end %]
   
[% for array_value as item; code %]
    stuff happens
[% end %]

We want your feedback!

See something that needs updating or additional clarification? Want assistance with a topic that isn’t listed here? Please let us know!

At BLOX Digital we are dedicated to providing you the information you need to be successful when you need it.

Visit our feedback page to log in, submit a support ticket, and track the progress of your open requests.