[Oberon] IMPORT Modules: why does order matter?

Andreas Pirklbauer andreas_pirklbauer at yahoo.com
Sat Mar 2 20:06:03 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?

No, you don’t. You only need to import those modules M, whose exported constants, types,
variables or procedures you reference in your module (by name), e.g. when you call M.P.


More information about the Oberon mailing list