Type for subordinate tag ScriptUsage

back to index
Context for calling a script

Is a part of the following tags

Description

Reference to a script and calling context.
See also this web site for general information about the Elekdra scripting concepts.

Example

This could be inside a signal configuration.
<script>
	<name>hugo</name>
	<address>42</address>
</script>

Sub tags

Tag Description
<name>
Type: String
Cardinality: once
Reference to the script implementation
Referrs to the <name> tag of a ScriptImplementation
<address>
Type: Integer
Cardinality: optional [0..1]
Integer variable with name 'address'
This is a shortcut for definition of a variable of type integer with name address
<int>
Type: NameIntValue[]
Cardinality: optional collection [0..N]
Integer variables
Definitions and initialization of variables

Example

This is equivalent to using the <address> tag for value 42.
<int>
	<name>address</name>
	<value>42</value>
</int>
<string>
Type: NameStringValue[]
Cardinality: optional collection [0..N]
String variables
Definitions and initialization of variables

Generated by ConfigFileDocumentationGenerator Valid HTML 4.01 Transitional