Command Text Macro
define_text_command
Description: |
Macro |
Identifier |
Displayed Name |
Function Identifier |
Group* |
Max Length |
|
Example: |
define_text_command( |
cmdSetMsgOnDisplay, |
"Set Msg On Display", |
SetMsgOnDisplay, |
12 , |
32 |
); |
*optional argument. If Group is omitted the Group-Number will default to 0.
The unique message id is derived from the row number, in source file where the macro is used.
Copy to your project:
define_text_command(Identifier, "DisplayedName", CommandFunction, optional_GroupNr, MaxLength);
define_text_command_id
Description: |
Macro |
Identifier |
Displayed Name |
Identifier |
Id |
Sub Id |
Group* |
Max Length |
|
Example: |
define_text_command_id( |
cmdSetMsgOnDisplay, |
"Set Msg On Display", |
SetMsgOnDisplay, |
7, |
1, |
12 , |
32 |
); |
*optional argument. If Group is omitted the Group-Number will default to 0.
Copy to your project:
define_text_command_id(Identifier, "DisplayedName", CommandFunction, Id, SubId, optional_GroupNr, MaxLength);