Syntax


Constants


Field identifiers

Names of fields are attributes of a ServerInfo record. These include 'type', 'location_info', and 'iid', even though these are explicitly stored instead of just other attributes.

Some pseudo-fields are also available - they are all prefaced with an underscore:


Variables

Variables are various miscellaneous data items that are part of the environment. The syntax for referring to a variable is a '$' sign followed by the variable name. The following variables are available:


Functions

Functions perform transformations on data and return a result. There are two possible syntaxes for a function call:
	funcname(field, other-arguments)
	field.funcname(other-arguments...)
Internally, 'field.funcname(other-arguments...)' is translated to be exactly the same as 'funcname(field, other-arguments)', so 'priority.max()' is exactly the same as 'max(priority)'. Function names are case insensitive. The following functions are available:


Operators