Article View: comp.lang.modula2
Article #3179Re: Modula2 for C programmers?
From: Informatik 1 047
Date: Wed, 24 Jan 1996 12:06
Date: Wed, 24 Jan 1996 12:06
20 lines
1306 bytes
1306 bytes
In <4e01fn$qte@weck.brokersys.com> jguthrie@brokersys.com writes: >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. Just have a deeper look into the language report which is included in "Programming in Modula-2", 3rd edition, by N.Wirth. There the types BITSET, CARDINAL, INTEGER a.s.o. are described so as to leave no doubt what can be done and what can't. cu, Torsten
Technical Details
Message-ID:
<4e57cq$q8i@gutemine.informatik.uni-kiel.de>Path:
arc1-ca.pugleaf.net!news.informatik.uni-kiel.de!inf1047References:
<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> <4e01fn$qte@weck.brokersys.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.informatik.uni-kiel.de!inf1047 From: inf1047@informatik.uni-kiel.de (Informatik 1 047) Newsgroups: comp.lang.modula2 Subject: Re: Modula2 for C programmers? Date: 24 Jan 1996 12:06:50 GMT Organization: Dept. of Computer Science, University of Kiel, FRG Message-ID: <4e57cq$q8i@gutemine.informatik.uni-kiel.de> 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> <4e01fn$qte@weck.brokersys.com> NNTP-Posting-Host: samwise.informatik.uni-kiel.de