[Oberon] undefined record field when compiling in NO.

Chris Burrows chris at cfbsoftware.com
Sat Jan 4 02:18:38 CET 2014


> -----Original Message-----
> From: Jan Verhoeven [mailto:jan at verhoeven272.nl]
> Sent: Saturday, 4 January 2014 11:35 AM
> To: ETH Oberon and related systems
> Subject: Re: [Oberon] undefined record field when compiling in NO.
> 
> On Saturday 04 January 2014 02:00:12 Bob Walkden wrote:
> > You have to export individually the fields of ConfigInput.Frame if you
> > want to use them in other modules, so it should be x*, y:
> > INTEGER;
> 
> And the assignment would probably become
> 
> 	x := F.ConfigInput.Frame.x
> 
> which would make the source rather hard to understand and maintain.
> 
> 

Not at all.

x := F.x is fine. 

F is declared as type ConfigInput.Frame.

Regards,
Chris

Chris Burrows
CFB Software
http://www.astrobe.com





More information about the Oberon mailing list