CBFalconer said:
> Richard Heathfield wrote:
>>
> ... snip ...
>>
>> By all means correct me if I'm wrong, but I thought that passing
>> an array directly (rather than as an instance of a user-defined
>> type) was illegal? I'm afraid I couldn't find a reference in ISO
>> 7185, but my text claims that "to use subrange type declarations
>> with formal parameters in a function or procedure header, we must
>> globally define the subrange type using a TYPE definition", and,
>> later, "to solve this problem we *must* globally define the type
>> of the array, since the arrays will be used as actual arguments
>> to the procedure". I could be misinterpreting this, of course,
>> but it does seem to suggest that "raw" arrays cannot be
>> parameters.
>
> The zipped text of ISO10206 is about 110k.
Ah, an updated standard. I see. Alas, my Pascal compiler appears not to
have caught up yet. It doesn't appear to like passing arrays as
parameters any more than my book does. :-)
> ISO7185 is compatible
> with it. Give me a suitable email address and I'll ****p it to you.
My address is in my sig, of course - but if this is iso10206.txt
weighing in at around 526000 bytes unzipped, then I already have it.
--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at the above domain, - www.


|