For loop linguistic abstraction (usage)
Filip Konvička
filip.konvicka at logis.cz
Tue Feb 27 10:42:45 CET 2007
>> I've also found out that the A.B:=C notation is a very common cause
>> of runtime errors, so I prefer using the standard procedure/function
>> call syntax to avoid this.
>
> Could you please explain.
I found myself fixing a lot of bugs like this:
local
X=o(feature1:{NewCell 5} ...)
in
X.feature1:=6
end
The compiler static analysis doesn't help here. You'll get a runtime error.
Cheers,
Filip
More information about the mozart-users
mailing list