XenoGuard Documentation


Actions » Programming » Identifier

The Identifier group contains all the necessary actions to define or modify variables, parameters, results, and enumerations.
  • Variable: Defines a variable
  • Parameter: Defines a parameter that is passed to the ActionScript when it is called
  • Result: Defines a result that the ActionScript returns to a caller
  • Enum: Defines an enumeration of key-value pairs
  • Set Identifier: Modifies the content of an identifier

You can use different data types for the identifier types Variable, Parameter, and Result. A data type defines what kind of data may be stored in the identifier and how it is interpreted. In addition, an identifier can be marked as Read-Only and as Static.

Read-Only: The value of the identifier may only be read during script execution.

Static: Normally, an identifier is initialized every time an ActionScript is called, i.e. the default value is assigned to the identifier. The Static attribute overrides this rule. An identifier declared as static is initialized only once - at the first script call. The value is retained afterward, even if the script has been terminated. On the next call, the script can continue to work with the last saved "old" identifier value.

Enumerations stored in text values. They are structured like dictionaries. Each entry contains a unique key and an arbitrary value - both of data type Text.

Data Types

Data Type
Combination of any characters containing letters, numbers and/or symbols
Letters: "Automate"
Numbers & letters: "3a48bE"
Letters & Symbols: "support@mycrotools.com"
Signed integer values in the range from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807
5, -3, 1000, -255
Unsigned Number
Unsigned integer values in the range from 0 to 18,446,744,073,709,551,615
0, 1, 2, ...
Floating point numbers that contain a point to indicate the decimal place.
Values can have a range from ±5.0 × 10−324 to ±1.7 × 10308.
The precision is about 15-17 digits.
A logical value with only two possible results after comparing the data: True and False
A graphic saved as a binary file.
Possible formats are BMP, JPEG, GIF, PNG, TIFF and EXIF.

See also other groups:

Flow Control
Action Script
Parameter List
Number Operation
String Operation