[EMAIL PROTECTED]

Sorry for the noise, but your definition and the definition of Ralph are semantically equivalent: each Oz procedure can be used like a function.

  proc {Plus X Y Z}
      X={FD.decl} Z={FD.decl} Z={FD.decl}
      X + Y =: Z
   end

Plus can be used like a function as in

Z =  {Plus X Y}

Alternatively, you may return another value

X = {Plus $ Y Z}

See Oz Tutorial..

Best,
Torsten

--
Torsten Anders
Sonic Arts Research Centre
Queen's University Belfast (UK)
www.torsten-anders.de

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

Reply via email to