🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #1567

Re: Passing Strange Parameters...help

#1567
From: Scott M. Kriefall
Date: Thu, 15 Oct 1992 06:03
15 lines
860 bytes
> Sample = RECORD of
>         Test: ARRAY(0..10) of CARDINAL
>         Quote: ARRAY(0..150) of CHAR
> 
> CutQuote(Sample.Quote);
> 
> Procedure CutQuote(VAR text:ARRAY of CHAR);
> 
> I this actually possible??

Sure it's possibly.  As far as M2 is concerned, you are merely passing
an array of chars, and not a field of a record.  It shouldn't be
very difficult to write a small test program to be absolutely
sure, though.
Technical Details
Message-ID: <1bj1ivINNmf4@usenet.INS.CWRU.Edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!destroyer!gatech!usenet.ins.cwru.edu!cleveland.Freenet.Edu!ci567

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!destroyer!gatech!usenet.ins.cwru.edu!cleveland.Freenet.Edu!ci567
From: ci567@cleveland.Freenet.Edu (Scott M. Kriefall)
Newsgroups: comp.lang.modula2
Subject: Re: Passing Strange Parameters...help
Date: 15 Oct 1992 06:03:11 GMT
Organization: Case Western Reserve University, Cleveland, Ohio (USA)
Lines: 15
Message-ID: <1bj1ivINNmf4@usenet.INS.CWRU.Edu>
NNTP-Posting-Host: hela.ins.cwru.edu