I use the following for my code samples:
functor
import
System(print:Print show:Show)
Application
Space
OS
Property
define
,,,, my code goes here ....
{Application.exit 0}
end
But then, I'm using print for the output, so you'll have to put in the
appropriate input statements for the Browse module.
Daniel Zingaro wrote:
Hi all,
Due to screen-reader software I use, the Mozart GUI is unavailable to
me, so I'm stuck using ozc from the commandline (via Cygwin).
I *think* I'm supposed to use 'ozc -x <filename>' to compile into an
executable, but the problem is that code I take from the Oz tutorial
doesn't work. I get errors stating, for example, that Browse or Show
is undefined; I assume these things are loaded into the GUI by
default, but I have no idea how to explicitly do so. When I use ozc
with no -x (I.E. default), I get errors as well.
I found a 'hello world' example that began with "functor", followed by
"import" and two imports (application and system), but when I put this
at the top of any of the tutorial samples and compile with ozc, I get
"expected EOF" errors.
Can someone help me get started? =)
Appreciated,
Dan
_________________________________________________________________________________
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