Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!mit-eddie!uw-beaver!zephyr.ens.tek.com!tektronix!nosun!qiclab!m2xenix!randy From: randy@m2xenix.psg.com (Randy Bush) Newsgroups: comp.lang.modula2 Subject: Re: Bitwise EXOR Message-ID: <1990Oct3.043217.15137@m2xenix.psg.com> Date: 3 Oct 90 04:32:17 GMT References: <2.2706EBB1@puddle.fidonet.org> Distribution: na Organization: Pacific Systems Group, Portland Oregon US Lines: 15 Martin.Baur@p70.f801.n302.z2.fidonet.org (Martin Baur) writes: > BITSET (tmpbuf[i]) = BITSET (inbuf[i]) / BITSET (key[kp]) Yes, some compilers might allow that, but this is Modula-2, not PL/I which had such 'pseudovariables' (and even in ANSI C, you can't cast an l-value). If you must cast, as opposed to using declared set types, then try tmpbuf[i] = TmpBufElementType ( BITSET (inbuf[i]) / BITSET (key[kp]) ) or something similar. -- ..!{uunet,qiclab,intelhf}!m2xenix!randy