NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
void BranchTest ( const byte  cmp,
constant void  lbl,
variant  value 
)
inline

Branch if test is true.

Branch to the specified label if the variable compares to zero with a true result.

Parameters
cmpThe constant comparison code. See the Comparison Constants for valid values.
lblThe name of the label where code should continue executing if the test is true.
valueThe value that you want to compare against zero.
Warning
You cannot use NXC expressions with this function
Examples:
ex_nbcopt.nxc.