Article View: comp.lang.modula2
Article #320Re: (in)compatibility between INTEGER and CARDINAL
From: Thomas Koenig
Date: Tue, 03 Oct 1989 20:45
Date: Tue, 03 Oct 1989 20:45
19 lines
1130 bytes
1130 bytes
<MARKV@UKANVAX.BITNET> writes:
> Can't you say something like
>
> FOR i:= 1 to CARDINAL(HIGH(n)) DO BEGIN
>
> etc..
> ?
>
> -Mark
Unfortunately, this is not possible in SPC-Modula2 - I get an error
which sounds something like 'illegal kind of procedure result'. So I
guess I'll drop CARDINAL from my Modula 'vocabulary' altogether and
just try to rewrite whatever comes my way from other programmers
(sigh) ...
Thomas Koenig UI0T@DKAUNI2.BITNET
UI0T%DKAUNI2.BITNET@CUNYVM.CUNY.EDU
(soon) UI0T@IBM3090.RZ.UNI-KARLSRUHE.DE
Technical Details
Message-ID:
<"89-10-03-21:40:51.72*UI0T"@DKAUNI2.BITNET>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!DKAUNI2.BITNET!UI0TShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!DKAUNI2.BITNET!UI0T From: UI0T@DKAUNI2.BITNET (Thomas Koenig) Newsgroups: comp.lang.modula2 Subject: Re: (in)compatibility between INTEGER and CARDINAL Message-ID: <"89-10-03-21:40:51.72*UI0T"@DKAUNI2.BITNET> Date: 3 Oct 89 20:45:52 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: Modula2 List <INFO-M2%UCF1VM.BITNET@PSUVM.PSU.EDU> Organization: The Internet Lines: 19 X-Unparsable-Date: Tue, 3 Oct 89 21:40:00 LCL