Got it to compile and run. Is there a listing of the standard imports
with the various aliases that the top-level environment currently uses?
Thanks,
Chris Rathman
[EMAIL PROTECTED] wrote:
Hi, Chris!
The compiler expects a file containing one single expression as input, which is
usually a _functor_. Take a look at
http://www.mozart-oz.org/documentation/apptut/index.html.
When you use the interactive top-level, there is a variable environment that is
not totally available during compilation. In functors, you'll make the referred
tools avaliable by importing modules. Your hello word should look like this:
functor
import
System(print:Print)
Application
define
{Print 'hello world'}
{Application.exit 0}
end
Cheers,
Jorge.
Selon Chris Rathman <[EMAIL PROTECTED]>:
_________________________________________________________________________________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users