Article View: comp.lang.modula2
Article #2427Re: pascal code to modula
From: Craig Spannring
Date: Tue, 26 Jan 1993 09:29
Date: Tue, 26 Jan 1993 09:29
26 lines
1770 bytes
1770 bytes
In article <8288@kielo.uta.fi> csfraw@vehka.uta.fi (Francis Akoto) writes:
>In article <1993Jan22.163533.8577@psg.com> randy@psg.com (Randy Bush) writes:
>>csfraw@vehka.cs.uta.fi (Francis Akoto) writes:
>>> This is a pascal code
>>> i,j: integer ;
>>> i := i or j ;
>>
>>That most certainly is *not* Pascal code.
(Climbing on my soapbox for a moment.)
I'd have to agree with Randy on this one. More importantly the ISO standard,
ANSI standard, and Dr. Wirth would agree with Randy. 'or' is a boolean
operator, not an integer operator. Please don't confuse Pascal with Turbo.
Turbo is not Pascal, never has been, never will be. Not only that, but
I don't think it will ever run on anything but 80x86 boxes running
{DOS|Windogs|OS/2}. (If you stretch the imagination enough you might
imagine it on OS/2.)
(Now stepping from my soapbox.)
--
=========================================================================
Six of one, 110 (base 2) of | Craig Spannring --- (406) 994-6128
another. | osycs@giac1.oscs.montana.edu
----------------------------+ Geographic Information & Analysis Center
Technical Details
Message-ID:
<1993Jan26.092943.26899@coe.montana.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!gatech!swrinde!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!usenet.coe.montana.edu!giac1.oscs.montana.edu!osycsReferences:
<8267@kielo.uta.fi> <1993Jan22.163533.8577@psg.com> <8288@kielo.uta.fi>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.modula2 Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!gatech!swrinde!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!usenet.coe.montana.edu!giac1.oscs.montana.edu!osycs From: osycs@giac1.oscs.montana.edu (Craig Spannring) Subject: Re: pascal code to modula Message-ID: <1993Jan26.092943.26899@coe.montana.edu> Keywords: n Sender: usenet@coe.montana.edu (USENET News System) Organization: Geographic Information & Analysis Center Montana State University References: <8267@kielo.uta.fi> <1993Jan22.163533.8577@psg.com> <8288@kielo.uta.fi> Date: Tue, 26 Jan 1993 09:29:43 GMT Lines: 26