Jo Dillon wrote:
[...] baby.pas:19: incompatible type for argument 1 of `Printmytype' [...] Surely this has to be a compiler problem?
Indeed. :-(
I am currently re-implementing the whole GPI mechanism (which is responsible for the transport of const/type/var/whatever information between units and programs). For the moment, please try to work around this bug, for instance by using integer constants (a=0, b=1, c=2) instead of enumerated types.
Peter