Jaime Alberto Parra Plaza wrote:
Hi:
I am writing Oz code for image processing using Mozart in Windows. I am having a curious problem when trying to use the method getColor. This one has parameters such as from, to, and so on. My problem is that the word 'from' seems for the compiler as a keyword (?) so it marks any intend of using it as an error. Can anyboby give me some advice? Thanks,

'from' *is* a keyword!  It is used in classes:

        class B from A ... end

The single quotes make it parsed as an atom.

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

Reply via email to