again, arise this message of error:
Process *Oz Compiler* exited abnormally with code 256,
with this script:
attach on tis mail
why?, what do it means?
I think that the compiler might have ran out of memory or something (it
runs fine on my Win2k box). The code is not complex, it's just quite big
and there are many variables. Still, it's not THAT big and the compiler
probably should not crash like this!
Try avoiding the code duplicities, it should run fine then. Maybe it's
just that the compiler was wondering why you did so much typing... (you
did not write the whole script by hand, did you?)
As for text file output, you need to change ExploreOne with SearchOne
and write the results to a file using Open.file e.g. like this:
local
R={SearchOne Asignacion}
F={New class $ from Open.file Open.text end
init(name:"out.txt" flags:[create truncate write text])
}
in
{F putS("Output follows:")}
{F putS({Value.toVirtualString R 10000 10000})}
{F close}
end
You will probably not use Value.toVirtualString but some "for" loops to
output the solution R in a more readable way.
Cheers,
Filip
_________________________________________________________________________________
mozart-users mailing list
mozart-users@mozart-oz.org
http://www.mozart-oz.org/mailman/listinfo/mozart-users