var |
Prev | Data File Format | Next |
Name
var — A single script variable
Synopsis
Content Model | |
var ::= | |
Attributes | |
Name | Type |
name | CDATA (required) |
valueid | CDATA (required) |
value | CDATA (deprecated) |
Description
A var
element stores a single script variable.
Script packets may contain variables representing other packets in the same packet tree, allowing easy access to these other packets from within a script.
Attributes
name
The variable name. Variable names are case sensitive.
valueid
The value of this variable. This should a packet identifier; specifically, it must match the
id
attribute that is stored in the value'spacket
tag. If the variable has a null value, then this should be the empty string.This attribute was introduced in Regina 4.95.
value
Deprecated. This stores the value of this variable as a packet label; specifically, it must match the
label
attribute that is stored in the value'spacket
tag.You should write this tag if you want your file to be read by Regina 4.94 or earlier. Later versions of Regina can also read it; however, they prefer the new
valueid
since (unlike packet labels) packet IDs are guaranteed to be unique.
Prev | Contents | Next |
txi | Up | zeroeff |