[Oberon] Oberon7 - How to get away without FORWARD references

Chris Burrows chris at cfbsoftware.com
Mon Oct 8 11:56:54 CEST 2018


> -----Original Message-----
> From: Oberon [mailto:oberon-bounces at lists.inf.ethz.ch] On Behalf Of
> Tomas Kral
> Sent: Monday, 8 October 2018 6:18 PM
> To: Oberon at lists.inf.ethz.ch
> Subject: [Oberon] Oberon7 - How to get away without FORWARD
> references
> 
> Hi,
> 
> I am porting `Def.Mod' to Oberon-7. The code compiles, I needed to
> shuffle some procedures around to avoid forward references, except
> one. I handle the one by a procedure variable, that is initialised on
> module linkload.
> 
> Is there a better way?
> 

Refer to Section 2. 'Forward declarations of procedures' in 'Porting the
Oberon Compiler from Oberon to Oberon-07'

https://www.inf.ethz.ch/personal/wirth/Oberon/index.html

Regards,
Chris Burrows

CFB Software
http://www.astrobe.com/RISC5







More information about the Oberon mailing list