[clean-list] problem with startMDI
Diederik van Arkel
diederik@cs.kun.nl
Fri, 20 Apr 2001 21:53:48 +0200
op 4/20/01 8:39 PM schreef Pierre Goupil op goupil.pierre@caramail.com:
> the followin' code gives me the error : "startMDI not
> defined". Thus, it comes from the clean manual !!! help,
> please !
>
> Sunset :p
>
>
>
> module window
>
> import StdIO,StdEnv
>
> :: NoState = NoState
>
> Start :: *World -> *World
> Start world = startMDI NoState NoState (openwindow o
> openmenu) [] world
Hi Pierre,
this looks like you are trying to combine the Object I/O 1.1 manual
with the 1.2 library.
In 1.2 syntax (of the top of my head) this would be:
startIO MDI NoState (openwindow o openmenu) [] world
It is probably best to download the 1.2 manual and examples before you
continue as a number of the top-level functions have changed in type.
Regards,
Diederik van Arkel
diederik@cs.kun.nl