From David Otton · 1996-04-02 16:31 · #75177 in R25C
-=> Quoting Ian James Abbott to David Otton <=- Hi Ian, IJA> Actually, it's putting a semicolon on the first example which can IJA> cause problems, e.g.: IJA> if (b > c) IJA> SWAPINT(a, b); IJA> else IJA> SWAPINT(a, c); IJA> looks okay at first glance, but is actually a syntax error if the IJA> first form of SWAPINT() is used (because the semicolon terminates a The compiler should throw a wobbly here, yes? IJA> second, null statement in this case). You need to knock off at least IJA> one (and preferably both) of the semicolons. However, if the second IJA> form of SWAPINT() is used, these semicolons are required. Is the }while(0) wrapper likely to slow the compiled code up any, or will the compiler just magic it away? |)/\\/||) ... Their are trhee things wrong here. --- GEcho/32 1.20/Pro * Origin: METRIC BBS * 01705 871471 * Multi Line * V34 28k8 * (2:251/21)