[Oberon] IMPORT Modules: why does order matter?
skulski at pas.rochester.edu
Sat Mar 2 19:50:57 CET 2019
imagine I write my own module Acquire which is reading some FPGA registers with direct addressing the FPGA, and writes the number to the system log via Out.Int(value). The only import would be Out. Do I need to import all the other stuff which you listed below?
In previous Oberons, as well as in BlackBox, the complete import list was not needed. Is it needed now? If so, can this new feature be fixed as it does not seem friendly?
From: Oberon [oberon-bounces at lists.inf.ethz.ch] on behalf of Andreas Pirklbauer [andreas_pirklbauer at yahoo.com]
Sent: Saturday, March 2, 2019 1:41 PM
To: ETH Oberon and related systems
Subject: [Oberon] IMPORT Modules: why does order matter?
> Or is the programmer forced to study the import diagrams from the book to arrange the
> lists by hand in the correct way?
Just build the list *once*, e.g. for FPGA Oberon:
Kernel, FileDir, Files, Modules,
Input, Display, Viewers,
Fonts, Texts, Oberon,
System, Edit, Tools
ORS, ORB, ORG, ORP, ORTool
Graphics, GraphicFrames, Draw,
Curves, Sierpinski, Hilbert, Stars, Rectangles, Checkers
Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
More information about the Oberon