standard C allows an "if" statement to be true if the value in the "if" is a non-zero number. Is this also true of the CVI compliler? If the statement returns a -1, is the "if" true or false?
Yes, the CVI compiler is ANSI compliant, which means that the body of
an "if" statement will be executed if the condition evaluates to a
non-zero value.