Is there a way to short the following cases with a "WHILE" or something (like with a IF and $count := $count +8), because the script I'm working now is getting very loooong...
Code: Select all
select ($test)
case 0
%whatever[$count] := $something
case 1
%whatever[$count +8] := $something
case 2
%whatever[$count +16] := $something
case 3
%whatever[$count +24] := $something
case 4
%whatever[$count +32] := $something
case 5
%whatever[$count +40] := $something
(and it continues until case 127)
end select