[Oberon] Exporting pointers
Srinivas Nayak
sinu.nayak2001 at gmail.com
Thu Dec 21 10:22:37 CET 2017
Dear Chris,
You are correct.
Many thanks for your valuable input.
Now I wonder, what is the true purpose behind 'exno'?
With thanks and best regards,
Yours sincerely,
Srinivas Nayak
Home: http://www.mathmeth.com/sn/
Blog: http://srinivas-nayak.blogspot.in/
On 12/21/2017 12:50 PM, Chris Burrows wrote:
>> -----Original Message-----
>> From: Oberon [mailto:oberon-bounces at lists.inf.ethz.ch] On Behalf Of
>> Srinivas Nayak
>> Sent: Thursday, 21 December 2017 4:21 PM
>> To: ETH Oberon and related systems
>> Subject: [Oberon] Exporting pointers
>>
>> Dear All,
>>
>> Looks like the current RISC-5 Oberon7 compiler allows only RECORDs to
>> be exported, although language says a pointer type can also be
>> exported. I see export number only incremented in case of RECORD type
>> in ORP.Mod.
>>
>> Kindly let me know if I am mistaken.
>>
>
> There must be some misunderstanding. Look at the Project Oberon source code
> for examples. You shouldn't have to look very far - I counted about a couple
> of dozen exported pointer types in fifteen different modules. There are nine
> in Graphics.Mod alone.
>
> At the risk of stating the obvious, any other type (not just RECORDs or
> POINTERs TO RECORDs), can be exported as well.
>
> Regards,
> Chris Burrows
> CFB Software
> http://www.astrobe.com/RISC5
>
>
>
> --
> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
> https://lists.inf.ethz.ch/mailman/listinfo/oberon
>
More information about the Oberon
mailing list