Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbatt!ihnp4!alberta!gail From: gail@alberta.UUCP Newsgroups: comp.sys.cbm Subject: XOR in C-Power Message-ID: <1045@cavell.alberta.UUCP> Date: Sun, 18-Jan-87 21:24:05 EST Article-I.D.: cavell.1045 Posted: Sun Jan 18 21:24:05 1987 Date-Received: Tue, 20-Jan-87 06:49:42 EST Organization: U. of Alberta, Edmonton, AB Lines: 15 What is the exclusive-or operator in C-Power? You know, the " ^ " operator in C. Where is it on the C64 keyboard? Also, why can't C-Power functions be declared as returning " void "? Can they return anything other that integers or reals? The definition of C allows returning structs! Also, has anyone else out there with C-Power noticed that the precedence of the logical AND operator, " && ", is WRONG! I had to rewrite the if shown here: if ( x1 == 0 && x2 == 0) { .... } as: if ((x1 == 0) && (x2 == 0)) { ....} in order to get it to work properly. The first "if" shown would never take the branch. DOES anyone else have any C-Power bugs that they know of? My version is 2.9.