Global variables

Global variables are declared in GXML with tag <var/>.


Var tags are placed at the root of your <gos/> tag.

GXML attributes :

GXML content :

Defines variable name. First letter of content is forced to uppercase by trans-piler. The variable name will be your variable’s exported identifier.

Sample tag :

	<var type="string">Key</var>

Exported to package:
Exports to files :
Writes tests to :