14 of 24
conditional
Send this reply if the specifi ed conditi on evaluates as true, even if no actual reply from the
target device is received.
command {
desc = “Get Mute status”;
source_cmd = “4D 55 54 45 3F 0D”;
reply {
desc = “Variable based reply, off”;
source_reply = “4D 55 54 45 3D 4F 46 46 3A”;
flag = conditional;
if (mute == 0);
}
}
Within the
if
statement the following tests are available;
==
is equal to
!=
is not equal to
&&
logical AND
||
logical OR
Statements may also be compounded, for example;
if ((mute == 0) && (power == 1));
Содержание cmdBridge
Страница 1: ...cmdBridge Harkwood Services Ltd Reference Manual Intelligent command protocol translation...
Страница 23: ...23 of 24 quoted_string printable character...
Страница 24: ...24 of 24...