🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #26498

Flame on TDI Modula-2!

#26498
From: CS117205
Date: Sat, 25 Apr 1987 03:27
42 lines
2646 bytes
Date:     Fri, 24 Apr 87 23:23 EDT
From:     <CS117205@YUSOL.BITNET>
Subject:  Flame on TDI Modula-2!
To:       Info-Atari16@Score.Stanford.edu
X-Original-To:  Info-Atari16@Score.Stanford.edu, CS117205


        I am really ticked off!  Don't worry its not really a bug, this goes
under the `limitation' department.  I was writing a definition module in
TDI's Modula-2 (Ver 2.00A, Developer's version), and I came across two
annoying characteristics with this compiler.

        The first has to do with the data types which you are permitted to
use with procedure functions (M-2's equivalent of a Pascal function).  I
have a set of procedure functions which return vector records (specifically
state information data structures).  Well, I stick my definition module
which contained the aforementioned procedure functions, through the compiler,
and guess what I get?  A lovely little error 88 in those procedure functions.
I look up in the manual and it says that an error 88 is "function type is
not scalar or basic type".  Why does TDI assume that I will never need to pass
a descriptor between modules?  That really infuriates me, especially after
what I spent for the original version and then the second upgrade.

        The other thing is sets.  Why does Modula-2, limit me to only 128
elements in a large set?  What if I was creating some routines which
required set elements greater than that number (for example the ASCII
character set)?

        My question to anyone out there who is using Modula-2 is, are these
bugs fixed in the new version (version 3.0X)?  I have not got the third
upgrade and I am debating on whether I should.  Any help would be much
appreciated.

                                                      Brian.

"Every day, I get closer and closer.....to getting a Mac+!!!"


|Dept. of CS  Opinions expressed        | cs117205%yusol.bitnet@wiscvm.wisc.edu
|York U,      here do not necessarily   | cs117205@yusol
|Toronto.     represent those of        | Brian McColgan
|Ont., Cdn.   York University.          | "The Moose is Loose!"
Technical Details
Message-ID: <8704250326.AA03572@ucbvax.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!esosun!ucsdhub!sdcsvax!ucbvax!YUSOL.BITNET!CS117205

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!esosun!ucsdhub!sdcsvax!ucbvax!YUSOL.BITNET!CS117205
From: CS117205@YUSOL.BITNET
Newsgroups: comp.sys.atari.st
Subject: Flame on TDI Modula-2!
Message-ID: <8704250326.AA03572@ucbvax.Berkeley.EDU>
Date: Fri, 24-Apr-87 23:27:22 EDT
Article-I.D.: ucbvax.8704250326.AA03572
Posted: Fri Apr 24 23:27:22 1987
Date-Received: Sun, 26-Apr-87 05:30:05 EDT
Sender: daemon@ucbvax.BERKELEY.EDU
Distribution: world
Organization: The ARPA Internet
Lines: 42