Sk1nyNerd
2014-02-20 18:48:19
Can somebody give a detailed example or a tut link on how to make a case structure so i dont have to do a situation like this:
thanks, im getting too lost following variables in other peoples code
Procedure SetVariables;
Begin
If (bank = 'blah') then
Begin
bankcolors := [313,232];
end else
If (bank = 'blahblah') then
Begin
bankcolors := [444,323];
end else
If (bank = 'blahblahblah') then
Begin
bankcolors := [232.234234];
end;
If (log = 'bum') then
Begin
logcolors := [313,232];
end else
If (log = 'bumbum') then
Begin
logcolors := [444,323];
end else
If (log = 'bumbumbum') then
Begin
logcolors := [232,234234];
end;
end;thanks, im getting too lost following variables in other peoples code