Hi,
I am newbie to Modula2 trying to compile some legacy code that I am
told worked with Top Speed Modula 2. Right now I am trying to use the
XDS Compiler. I have two basic questions that I think may not be
compiler specific (or may be not):
1. Does it matter if you break up a Procedure definition on to
separate lines?
i.e. is
PROCEDURE vertab (VAR a,b,c:CARDINAL;VAR rowstart:ListPoint;VAR
inf:File);
And
PROCEDURE vertab(VAR a,b,c:CARDINAL;
VAR rowstart:ListPoint;
VAR inf:File);
The same?? I know in C and many other languages this does not matter.
I am asking this question because I have the Procedure definition in
the "*.def" file exactly the same as what I have in the "*.mod" file -
and it complains saying "procedure "vertab" does not match previous
definition" I don't know what the error is? I copied and pasted one to
the other just to make sure - still I get nothing.
2. Is there some module or package called "FIO" and how do I find out
what it contains?
I have a line like
FROM FIO IM****T Create, Open, File, Close, WrStr, WrLn, WrLngCard,
In a "*.def" file but later in that file it tells me that "File" is
not defined.
Actually these errors may be related because this error comes from the
"VAR inf:File" in the procedure definition mentioned above.
Any ideas?
Thanks a lot for the help,
O.O.


|