Michael McDonald's Blog

Noel 0.9.7 update: Required Variable and Tag Notations

On the heels of the last update, I have added a new type of notation for resolving variables and tags:

You can now require that a variable be resolved by Noel by using this notation:

$*requiredVariable

If the variable is undefined in Noel, compilation fails. Using required variable notation is more strict than regular notation, preventing typos and accidentally referring to variables that don’t exist.

Similarly, you can also require that a tag be resolved by Noel by using the notation:

<*RequiredTag>

More details can be found on the Noel Variable Resolution and Noel Tags documentation pages.

link  |   |  12/3/08 11:29am
updated 12/3/08 11:30am
 
home  |  acting  |  blog  |  consulting  |  noel  |  contact
© 2013 Michael McDonald, . All rights reserved.