hi, my question is regarding whether or not it is possible to place one case within another, i.e.
this gives a syntax error, am i just not doing it correctly or is it just not possible?Code:procedure test; var i, o, u : integer; begin for i := 0 to 1 do case I of 0: for o := 0 to 1 do case O of 0 : Writeln('0,0'); 1 : Writeln('0,1'); ' end; 1: for u := 0 to 1 do case U of 0 : Writeln('1,0'); 1 : Writeln('1,1'); end; end; end;


Reply With Quote








