Skip to content

HTML testing

evbacher edited this page Apr 13, 2025 · 1 revision

Undefined variables

If you use an [UNDEFINED]:undefinedVar, you will get a stern and visible warning. For example:

This is a variable test (first single-line definition). My name is Baby Sniglar. This variable is [UNDEFINED]:bogus. We need to alert for undefined variables. But we don’t care about unused variables. Another use of [UNDEFINED]:bogus. This is .$multi: This is a multiline var value with two lines.

Unused variables

Unused variables do not cause an error.

Referring to variable instances

When you want to talk about .$varname, you need to use the HTML entity for $ instead of the $ sign itself ($).

Clone this wiki locally