Jump to content
Toggle menu
  • 915 articles
  • 3.8K files
  • 30.2K users
  • 279.2K edits
Catglobe Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

AxisSet getAxis

From Catglobe Wiki



AxisSet_getAxis

Gets the axis by name from the axis-set belonging to the current DCS context. The axis object is returned as an array formated according to the description given for the axis object constructor function (see Axis_new for more information)

Syntax

AxisSet_getAxis(name)

Arguments

name: Is a string expression, it is name of the axis to look up.

Return type

array

Examples

array axis = AxisSet_getAxis("Sex");

print(axis);

//Gets the axis by name from the axis-set belonging to the current DCS context (e.g : {0,Sex,Hvad er dit køn?,Sex,Sex != empty,False,{{1,Mand,Sex == [1],},{1,Kvinde,Sex == [2],}},} )

Availability

Version 5.5