On 6/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote:

The system cannot load a module compiled by a different version, that's the
problem. You can try to compile the source, if you have it, or adapt the code
to use the very similar standard module (to your version):

   'x-oz://system/adt/Stack.ozf'

See documentation at

     http://www.mozart-oz.org/documentation/mozart-stdlib/adt/stack.html

The adaptation would go +- like his:

declare STACK_URL = 'x-oz://system/adt/Stack.ozf'
declare STACK_MODULE = {Module.link [STACK_URL]}
declare NewStack = STACK_MODULE.new

Please notice that commands are named a bit differently in this package. For
example, push is called put.


Wonderful. Thanks a lot !
stijn.
 






_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to