On Apr 7, 12:37 pm, Marco van de Voort <mar...@[EMAIL PROTECTED]
> wrote:
> On 2008-04-07, JP2R <jp.deza...@[EMAIL PROTECTED]
> wrote:
>
>
>
> >> I have in the DEF File
>
> >> FROM FIO IM****T Create, Open, File, Close, WrStr, WrLn, WrLngCard,
> >> WrCard;
>
> >> And in the MOD file simply
>
> >> IM****T IO;
>
> >> There is no where in the MOD File where it explicitly says IM****T
File
> >> - like it does in the DEF.
>
> > I think you got it ....
> > With XDS and ISO compilers you need the very same 'File' IM****T clause
> > in the MOD
> > And yes Martin message points something very im****tant.
>
> No. Im****t xx; im****ts qualified only?
>
> It would have to read
>
> FROM IO IM****T File;
>
> to cause problems.
IM****T xx im****ts QUALIFIED idents only
FROM xx IM****T yy im****ts yy UNQUALIFIED
AND im****ts made in DEF is NOT known in MOD and you get an error with
XDS compiler
BUT with Topspeed this will compile ...
DEFINITION MODULE x;
FROM FIO IM****T WrLn, File;
PROCEDURE Y (f: File);
END x.
------------------
IMPLEMENTATION MODULE x
PROCEDURE Y (f: File);
BEGIN
WrLn(f)
END Y;
END x.


|