

On Fri, 27 Dec 2002 Ralph Becket wrote :
>Noel  Pinto, Thursday, 26 December 2002:
> >
> > I would like to know what is meant by related and unrelated
> > modules??
>
>You've given us what looks like a perfectly plain English 
>sentence; if
>its meaning is not plain from context (which I find hard to 
>believe)
>then you should also provide the context so we stand a chance of 
>being
>able to help.

I am talking in context of the User Guide, where in the Libraries, 
Writng Libraries section, it has been mentioned about related and 
unrelated modules. The examples do not make any clear about the 
terms of related and unrelated modules(just because of the usage 
import_module and include_module). Plz make it more clear and 
specific.


> > In the examples provided, include_module and import_module 
>are
> > used. They perform almost the same as including other modules 
> from
> > different files as sub-modules, except that, import_module 
>helps
> > retain the value of variable across child modules.
>
>What on Earth does "helps retain the value of variable across 
>child
>modules" mean?
>
>`:- import_module foo' makes the names defined in module foo 
>visible in
>the importing module.
>
>`:- include_module foo' declares module foo to be a (separate)
>sub-module of the module making the declaration.  It does not 
>imply that
>foo is imported, however.
>
>- Ralph
>
>--------------------------------------------------------------------------
>mercury-users mailing list
>post:  mercury-users@cs.mu.oz.au
>administrative address: owner-mercury-users@cs.mu.oz.au
>unsubscribe: Address: mercury-users-request@cs.mu.oz.au Message: 
>unsubscribe
>subscribe:   Address: mercury-users-request@cs.mu.oz.au Message: 
>subscribe
>--------------------------------------------------------------------------


________________________________________________________________
  NIIT supports World Computer Literacy Day on 2nd December.
  Enroll for NIIT SWIFT Jyoti till 2nd December for only Rs. 749
  and get free Indian Languages Office software worth Rs. 2500.
  For details contact your nearest NIIT centre, SWIFT Point
  or click here http://swift.rediff.com/

--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users@cs.mu.oz.au
administrative address: owner-mercury-users@cs.mu.oz.au
unsubscribe: Address: mercury-users-request@cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request@cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------

