AxisSet getAxis

From Catglobe Wiki
Revision as of 10:32, 23 December 2011 by Cg van (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



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