Article View: comp.lang.modula2
Article #3148Re: Modula2 for C programmers?
From: Douglas Evan Cook
Date: Fri, 19 Jan 1996 18:36
Date: Fri, 19 Jan 1996 18:36
20 lines
1451 bytes
1451 bytes
On Thu, 18 Jan 1996, Eric Obermuhlner wrote: > Hi out there > > How do I do the ugly things that C programmers like so very much in Modula 2? > Like getting a pointer to a var, pointer arithmetic, bit operations (shift, and, or, exor). > > Thanks in advance. Well, you can do some of the above with bit sets, but to really do it well you either need non-standard M2 or a set of assembly language routines to link in. I wrote a set of ASM's for Stony Brook (old version; the new bersion uses BAND, BOR, BXOR). If you are interested (they will probably work for your version, too), let me know. ============================================================= Douglas Cook, undergraduate in Computer Science at BYU ------------------------------------------------------------- *REAL* programmers use COPY CON PROGRAM.EXE =============================================================
Technical Details
Message-ID:
<Pine.HPP.3.91.960119113424.23852B-100000@clear.cs.byu.edu>Path:
arc1-ca.pugleaf.net!clear.cs.byu.edu!cookdReferences:
<erico-1801961940460001@infinitehell.cnmat.berkeley.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!clear.cs.byu.edu!cookd From: Douglas Evan Cook <cookd@cs.byu.edu> Newsgroups: comp.lang.modula2 Subject: Re: Modula2 for C programmers? Date: Fri, 19 Jan 1996 11:36:35 -0700 Organization: Brigham Young University Message-ID: <Pine.HPP.3.91.960119113424.23852B-100000@clear.cs.byu.edu> References: <erico-1801961940460001@infinitehell.cnmat.berkeley.edu> NNTP-Posting-Host: clear.cs.byu.edu Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In-Reply-To: <erico-1801961940460001@infinitehell.cnmat.berkeley.edu>