setalias
- Last UpdatedMay 02, 2023
- 2 minute read
The setalias statement assigns a different node to an Alias.
Platform support
This element is supported on XR-Windows platform only.
|
XR-WIN |
XR-P-WIN |
XR-P-IOS |
XR-P-AND |
XR-P-WASM |
|---|---|---|---|---|
|
Full support |
No support |
No support |
No support |
No support |
|
|
|
|
|
|
Code example
This is a code example for the setalias statement.
<command name="showmenu">
<setalias alias="currentTaskmanager" node="tm_@mission_data.missionNumber@"/>
<!-- ... -->
</command>
Fields
These are the fields for setalias statement.
|
Fields |
Type |
Use |
Default value |
Description |
|---|---|---|---|---|
|
alias |
sstring |
Mandatory |
No default value |
The name of the alias node. |
|
node |
sstring |
Optional |
Name of the linked XML file |
The name of the node to be pointed by the alias. |
|
condition |
sstring |
Optional |
No default value |
Applies a condition to the function execution. |