Article View: comp.lang.modula2
Article #132Re: Subranges and doubledots
From: George Emery
Date: Fri, 16 Jun 1989 17:37
Date: Fri, 16 Jun 1989 17:37
10 lines
861 bytes
861 bytes
In article <983@maestro.htsa.aha.nl> fransvo@maestro.htsa.aha.nl (Frans van Otten) writes: >In Modula-2, a valid subrange is [5 .. 10]. But would [5..10] also >be a valid subrange ? I mean, how should this be interpreted ? Someone's already answered this with the technically correct answer, so I'll add that in the real world all the compilers I've used (not many: 3) will accept [5..10]. George Emery ...!tektronix!sequent!crg3!george (503) 257-9731 (voice, home)
Technical Details
Message-ID:
<17466@sequent.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!zephyr!tektronix!sequent!georgeReferences:
<983@maestro.htsa.aha.nl>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!zephyr!tektronix!sequent!george From: george@sequent.UUCP (George Emery) Newsgroups: comp.lang.modula2 Subject: Re: Subranges and doubledots Message-ID: <17466@sequent.UUCP> Date: 16 Jun 89 17:37:58 GMT References: <983@maestro.htsa.aha.nl> Reply-To: george@crg3.UUCP (George Emery) Organization: Sequent Computer Systems, Inc Lines: 10