Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Modula 2 > Re: Basic Quest...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 14 of 17 Topic 363 of 383
Post > Topic >>

Re: Basic Questions

by JP2R <jp.dezaire@[EMAIL PROTECTED] > Apr 7, 2008 at 04:13 AM

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.
 




 17 Posts in Topic:
Basic Questions
carmaski@[EMAIL PROTECTED  2008-04-05 14:04:46 
Re: Basic Questions
Marco van de Voort <ma  2008-04-06 09:22:34 
Re: Basic Questions
JP2R <jp.dezaire@[EMAI  2008-04-06 02:40:23 
Re: Basic Questions
Marco van de Voort <ma  2008-04-06 10:46:13 
Re: Basic Questions
"O. Olson" <  2008-04-06 08:53:32 
Re: Basic Questions
Martin Whitaker <spamt  2008-04-06 18:52:17 
Re: Basic Questions
"O. Olson" <  2008-04-06 08:59:53 
Re: Basic Questions
"O. Olson" <  2008-04-06 09:01:34 
Re: Basic Questions
JP2R <jp.dezaire@[EMAI  2008-04-06 10:28:42 
Re: Basic Questions
"O. Olson" <  2008-04-06 22:06:23 
Re: Basic Questions
"Jürgen Lerch"   2008-04-07 08:01:16 
Re: Basic Questions
JP2R <jp.dezaire@[EMAI  2008-04-07 01:32:24 
Re: Basic Questions
Marco van de Voort <ma  2008-04-07 10:37:52 
Re: Basic Questions
JP2R <jp.dezaire@[EMAI  2008-04-07 04:13:19 
Re: Basic Questions
Marco van de Voort <ma  2008-04-07 19:17:02 
Re: Basic Questions
JP2R <jp.dezaire@[EMAI  2008-04-07 12:55:08 
Re: Basic Questions
"O. Olson" <  2008-04-08 16:14:44 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Oct 12 15:34:11 CDT 2008.