🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #128

Subranges and doubledots

#128
From: Frans van Otten
Date: Thu, 15 Jun 1989 15:52
14 lines
881 bytes
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 ?

  [ 5 .. 10 ]   = "[" integer doubledot integer "]"

or

  [ 5. . 10 ]   = "[" real dot integer "]"

What is the "common" interpretation ?
-- 
Frans van Otten                     |   fransvo@maestro.htsa.aha.nl    or
Algemene Hogeschool Amsterdam       |   fransvo@htsa.uucp              or
Technische en Maritieme Faculteit   |   [[...!]backbone!]htsa!fransvo
Technical Details
Message-ID: <983@maestro.htsa.aha.nl>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!mcvax!hp4nl!maestro!fransvo

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!mcvax!hp4nl!maestro!fransvo
From: fransvo@maestro.htsa.aha.nl (Frans van Otten)
Newsgroups: comp.lang.modula2
Subject: Subranges and doubledots
Message-ID: <983@maestro.htsa.aha.nl>
Date: 15 Jun 89 15:52:40 GMT
Organization: AHA-TMF (Technical Institute), Amsterdam, The Netherlands
Lines: 14