Mark
2004-01-22 13:59:32 UTC
I am having my first experiences with case statements at the moment.
I am trying to read in a number, the case staement will place the
number in a range and force an output. This works fine with the
following:
1..5:writeln('Blah');
6..10:writeln('blah2');
I was wondering if it is possible to then manipulate the number
specific to that range.
i.e.
1..5:writeln('Blah');
something:=number*10;
6..10:writeln('blah2');
something:=number*11;
Is this possible? Thank you for any help
Mark
I am trying to read in a number, the case staement will place the
number in a range and force an output. This works fine with the
following:
1..5:writeln('Blah');
6..10:writeln('blah2');
I was wondering if it is possible to then manipulate the number
specific to that range.
i.e.
1..5:writeln('Blah');
something:=number*10;
6..10:writeln('blah2');
something:=number*11;
Is this possible? Thank you for any help
Mark