Hi All,
I know another newbie question but I think this one is very easy. I
simply want to assign the current task label that is being processed so
if the constraints fail I can tell what task had the problem. I try this:
{System.show {Label T}}
{LastTask = {Label T} }
System.show shows:
p7
It compiles but when I run it I get:
%********************** error in application ********************
%**
%** Application of non-procedure and non-object
%**
%** In statement: {p7}
%**
%** Call Stack:
%** procedure in file "./tinyErpScheduler.oz", line 96, column 5, PC =
135959244
%** procedure 'ForAll' in file
"/home/kost/compile/build-1.3.0/updates/mozart/share/lib/base/List.oz",
line 106, column 0, PC = 136151004
How do I fix this, shouldn't this be simple?
I also want to clone the Start record. I try:
{Record.clone Start ClonedStart}
and it causes my oz program to just hang. What do I clone the Start record?
_________________________________________________________________________________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users