Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!columbia!rutgers!clyde!burl!codas!mtune!ariel!caelum!io!alan From: alan@io.UUCP (a.yorinks) Newsgroups: comp.sys.cbm Subject: Re: XOR in C-Power Message-ID: <205@io.UUCP> Date: Wed, 21-Jan-87 13:52:28 EST Article-I.D.: io.205 Posted: Wed Jan 21 13:52:28 1987 Date-Received: Thu, 22-Jan-87 18:51:51 EST References: <1045@cavell.alberta.UUCP> Organization: AT&T IS Labs, Middletown NJ USA Lines: 14 Summary: C-Power XOR and void return In article <1045@cavell.alberta.UUCP>, gail@alberta.UUCP (Gail Miklos) writes: > 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! > The carate key which normally is the symbol for XOR is replaced by the up arrow key (not the cursor movement key) on the 64. C-Power allows you the flexibility to return anything you normally would with K&R C with the exception of void. If this really bugs you, then write a macro to specify a return for void (i.e. #define void int).