🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #1443

Re: Compilier Problems

#1443
From: Patrick J Draper
Date: Wed, 05 Dec 1990 21:06
20 lines
1441 bytes
In article <INFO-M2%90120508321696@UCF1VM.BITNET> Modula2 List <INFO-M2%UCF1VM.BITNET@ucf1vm.cc.ucf.edu> writes:
>The TopSpeed Modula-2 compiler allows structured types to be returned
>as function results. Not all compilers allow this, some only allow
>simple types and pointer types to be returned. Maybe the FST compiler
>is like that. Try returning a pointer to your WordArray instead.
>
>Rob Griffiths
>Computing Department
>The Open University.


FST allows complete structures to be returned through a var parameter.
No pointers are necessary for FST.


------------------------------------------------------------------------
Patrick Draper              In times like these it is helpful to
buster.cps.msu.edu          remember that there have always been
                            times like these.
------------------------------------------------------------------------
Technical Details
Message-ID: <1990Dec5.210606.11551@msuinfo.cl.msu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!usc!rutgers!netnews.upenn.edu!msuinfo!news
References: <INFO-M2%90120508321696@UCF1VM.BITNET>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!usc!rutgers!netnews.upenn.edu!msuinfo!news
From: draper@buster.cps.msu.edu (Patrick J Draper)
Newsgroups: comp.lang.modula2
Subject: Re: Compilier Problems
Message-ID: <1990Dec5.210606.11551@msuinfo.cl.msu.edu>
Date: 5 Dec 90 21:06:06 GMT
References: <INFO-M2%90120508321696@UCF1VM.BITNET>
Sender: news@msuinfo.cl.msu.edu
Reply-To: draper@buster.cps.msu.edu (Patrick J Draper)
Organization: Dept. of Computer Science, Michigan State University
Lines: 20