MC-Basic:CompensationSource.Name

From SoftMC-Wiki
Jump to: navigation, search
Language: English  • 中文(简体)‎

Queries the compensation source name and type as a string. It can sign into string variable, send as a parameter into function, to compare or concatenate into other string.

Short form

<axis>.CSour.name

Syntax

<axis>.CompensationSource = '<source>


?<axis>.CompensationSource.name

Availability

Versions 4.7.14 and higher also was added at 4.6.27 and higher.

Type

String

Units

none

Default

Axis.Pcmd

Scope

Configuration, Task or Terminal

Examples

common shared cstr as string
Xaxis.CompensationSource = Xaxis.pfb
?Xaxis.CompensationSource .Name
Xaxis.pfb
cstr = Xaxis.compensationsource.name

See Also