Hi,
Another question regarding module linking.
Does module linking in Mozart work in the same fashion as #include in
C/C++ such that a module (eg. QTk) linked in a functor becomes available
in an Oz program that links that functor or does the module need linking
both in the functor AND the main Oz file?
If it does 'link through', how would you access it? Does [QTk] become
defined in the toplevel program?
Regards
Mark
Torsten Anders wrote:
Hi,
On Aug 29, 2008, at 5:28 PM, mark richardson wrote:
[Csv]={Module.link ["x-oz://system/user/Csv.ozf"]}
[QTk]={Module.link ["x-oz://system/wp/QTk.ozf"]}
This code by Mark reminded me of something I wanted to discuss with
you before. Experience (and long debugging sessions!) taught me that
presently one (usually) avoid linking multiple functors with multiple
calls to Module.link. As a general practice, it is wise to have only a
single call to Module.link like
[Csv QTk]={Module.link ["x-oz://system/user/Csv.ozf"
"x-oz://system/wp/QTk.ozf"]}
--
Mark Richardson
Final year undergraduate
University of Teesside
_________________________________________________________________________________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users