Global variables

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

Syntax

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 :

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


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