Variables

A Vortex variable is denoted by a dollar sign ($) immediately followed by a name. Variable names have the same syntax as function names (here), i.e. alphanumerics, underscores, spaces or a period, and are case-sensitive (i.e. $value and $Value are distinct variables). If a variable name contains non-alphanumeric characters, or is adjacent to text not part of its name, its name must be quoted to delimit it, e.g.:

I $'prefix'opened the case.

A variable is printed by simply referring to it in the Vortex script, as above. Its value is automatically HTML-escaped when printed (unless the script content type is non-HTML). To print a literal $, use $$:

The price is $$39.95.



Copyright © Thunderstone Software     Last updated: Sep 25 2019
Copyright © 2019 Thunderstone Software LLC. All rights reserved.