Hi Saurabh,This one of the aspects of Oz that is quite confusing for new 
users:code that works in the interactive mode cannot be by directly compiledby 
ozc. You need to wrap it in a functor first. Read about functors inthe 
documentation, for example you could have a look at theapplication programming 
tutorial:http://www.mozart-oz.org/documentation/apptut/index.htmlBest,--Grzegorz
 Chrupała
On 22/09/05, Saurabh Kumar <[EMAIL PROTECTED]> wrote:> Hi all>  I am a newbie.> 
 I am trying to run the simple 'notepad application' given in the> 
documentation of mozart.>  While compiling the prog.>  I am getting an error  
saying :  variable Module not introduced .>  for my first line in the prog :>  
declare [QTk]={Module.link> 
["http://www.info.ucl.ac.be/people/ned/qtk/QTk.ozf"]}>  I am trying to compil 
by running the command :   ozc notepad.oz>>>  Any idea out there, what's going 
wrong ?>>>  I am a newbie so please bear with me .>  Thanks>> 
_________________________________________________________________________________>
 mozart-users mailing list> [email protected]> 
http://www.mozart-oz.org/mailman/listinfo/mozart-users>>>
_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to