Article View: comp.lang.modula2
Article #1221Re: Bitwise EXOR
From: Randy Bush
Date: Wed, 03 Oct 1990 04:32
Date: Wed, 03 Oct 1990 04:32
15 lines
948 bytes
948 bytes
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
Technical Details
Message-ID:
<1990Oct3.043217.15137@m2xenix.psg.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!mit-eddie!uw-beaver!zephyr.ens.tek.com!tektronix!nosun!qiclab!m2xenix!randyReferences:
<2.2706EBB1@puddle.fidonet.org>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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