🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #2415

Re: pascal code to modula

#2415
From: Joe Bob
Date: Sun, 24 Jan 1993 15:43
13 lines
836 bytes
In article <1993Jan22.163533.8577@psg.com> randy@psg.com (Randy Bush) writes:
>>    i,j: integer ;
>>    i := i or j ;
>
>To do this in Modula-2, one would do something like
>
>    VAR i, j : INTEGER;
>    i := INTEGER ( BITSET(i) OR BITSET(j) )


  I think you mean

    i := INTEGER(BITSET(i) + BITSET(j))
Technical Details
Message-ID: <C1D7p6.Bo7@agora.rain.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!Germany.EU.net!news.netmbx.de!mailgzrz.TU-Berlin.DE!math.fu-berlin.de!ira.uka.de!sol.ctr.columbia.edu!spool.mu.edu!uwm.edu!ogicse!psgrain!m2xenix!agora!robart
References: <8267@kielo.uta.fi> <1993Jan22.163533.8577@psg.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!Germany.EU.net!news.netmbx.de!mailgzrz.TU-Berlin.DE!math.fu-berlin.de!ira.uka.de!sol.ctr.columbia.edu!spool.mu.edu!uwm.edu!ogicse!psgrain!m2xenix!agora!robart
From: robart@agora.rain.com (Joe Bob)
Newsgroups: comp.lang.modula2
Subject: Re: pascal code to modula
Message-ID: <C1D7p6.Bo7@agora.rain.com>
Date: 24 Jan 93 15:43:53 GMT
Article-I.D.: agora.C1D7p6.Bo7
References: <8267@kielo.uta.fi> <1993Jan22.163533.8577@psg.com>
Distribution: world
Organization: a gora
Lines: 13