MC-Basic:GETAXIS$

From SoftMC-Wiki
Jump to: navigation, search

Returns an axis according to the name received through the argument.

Syntax

<generic_axis> = getaxis$ (<string_expression>)
? getaxis$ (<string_expression>).<axis_property>

Availability

Avilable since version 4.15.1.

Type

Axis

Range

A valid name of a real axis.

Scope

Configuration, Task, Terminal

Limitations

Cannot serve as an axis in Motion commands.
Input must be a name of a real axis.

Examples

GenericAxis = GetAxis$("A1")

?GetAxis$("A2").abs

See Also