🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #3161

Re: Modula2 for C programmers?

#3161
From: jguthrie
Date: Mon, 22 Jan 1996 12:55
10 lines
896 bytes
Pat Terry (cspt@giraffe.ru.ac.za) wrote:

: They should all allow you to CAST (coerce) to a BITSET and back

:   e.g.    A := CARDINAL( BITSET(x) * BITSET(y) )

: does AND, and so on.  

Why isn't this mentioned in any of the books that I've read on Modula-2?  I
was always left with the impression that it was impossible to do this.
Technical Details
Message-ID: <4e01fn$qte@weck.brokersys.com>
Path: arc1-ca.pugleaf.net!weck.brokersys.com!not-for-mail
References: <erico-1801961940460001@infinitehell.cnmat.berkeley.edu> <4dqusf$d7k@weck.brokersys.com> <DLIGLJ.FDE@nyongwa.montreal.qc.ca> <4du11j$l31@weck.brokersys.com> <cspt.1225.31032C36@giraffe.ru.ac.za>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!weck.brokersys.com!not-for-mail
From: jguthrie@brokersys.com
Newsgroups: comp.lang.modula2
Subject: Re: Modula2 for C programmers?
Date: 22 Jan 1996 06:55:19 -0600
Organization: Executel/IBS Internet Services
Message-ID: <4e01fn$qte@weck.brokersys.com>
References: <erico-1801961940460001@infinitehell.cnmat.berkeley.edu> <4dqusf$d7k@weck.brokersys.com> <DLIGLJ.FDE@nyongwa.montreal.qc.ca> <4du11j$l31@weck.brokersys.com> <cspt.1225.31032C36@giraffe.ru.ac.za>
NNTP-Posting-Host: weck.brokersys.com
X-Newsreader: TIN [version 1.2 PL2]