CompuServe Messages

#MODULA-2

    10-Dec-86 19:30:30
Sb: #43167-#MODULA-2
Fm: Steve Faiwiszewski 74106,425
I don't know if you noticed, but suppose you have a definition file where you have to declare anything which require you to import from another .Sym file (say Intuition), then all of the imported .Sym file is incorporated into yours. For example: DEFINITION MODULE Foo; FROM Intuition IMPORT WindowPtr; VAR wp : WindowPtr; END Foo. Try to compile this. First of all, it takes the compiler eons to generate the Foo.Sym file: it just sits there apparently twiddling its thumbs (actually, it's probably resolving some references), and once in a while writes something to disk. Next, look at the size of Foo.Sym!!! It's humongous!!!! Now try to decode it (using DecSym, if you have it). It seems as if all of Intuition.Sym is in here. Now, to me, it seems like a lousy way to implement this. Les, is this a bug or a feature? Will this be changed for 1.2? – Steve –