Hello,
I noticed that imports done outside the interface-specification-part are
not dependency checked by --automake. This creates problems for first
time gnu pascal uses such as myself.
I started placing imports outside the interface-specification-part to
avoid circular dependencies and it took a while to understand that
--automake was no longer finding the import dependencies.
I also assumed that the reason for the, rather awkward, multiple
interface capability was to get around the module circular dependency
problem. Ada resorted to the kludgy 'limited with' workaround.
Gnu pascal seems to have resorted to the import 'in' workaround.
However, having filenames in the source code does not seem to me to be a
good idea.
Would "import modulename_interfacename" work?
The first '_' character would take on special meaning but the change
would be 10602 specification compliant and having the module name and
interface name combined into one identifier would eliminate the need for
file names in the source code.
Regards,
Paul Isaacs