define_bool_command


Description:

Macro

Identifier

Displayed Name

Function Identifier

Group*

TRUE text

FALSE text


Example:

define_bool_command(

cmdSetRedLed,

"Set Red LED",

SetRedLed,

4,

"ON",

"OFF"

);


*optional argument Group. 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_bool_command(Identifier, "DisplayedName", CommandFunction, optional_GroupNr, "TrueText", "FalseText");

define_bool_command_id


Description:

Macro

Identifier

Displayed Name

Function Identifier

Id

Sub Id

Group*

TRUE text

FALSE text


Example:

define_bool_command_id(

cmdSetRedLed,

"Set Red LED",

SetRedLed,

2,

,34

4,

"ON",

"OFF"

);


*optional argument. If Group is omitted the Group-Number will default to 0.


Copy to your project:

define_bool_command_id(Identifier, "DisplayedName", CommandFunction, Id, SubId, optional_GroupNr, "TrueText", "FalseText");