fork download
  1. declare Max
  2. proc{Max X Y Z}
  3. if X>Y then Z=X
  4. else Z=Y end
  5. end
  6. {Show max({Max 1 2})}
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Mozart Compiler 1.4.0 (20080704) playing Oz 3

%%% feeding file prog.oz

%********************* binding analysis error *******************
%**
%** variable Show not introduced
%**
%** in file "./prog.oz", line 6, column 1

%************************** syntax error ************************
%**
%** statement at expression position
%**
%** in file "./prog.oz", line 6, column 0
%** ------------------ rejected (2 errors)
stdout
Standard output is empty