IF block is needed if more than one variable is being tested.

by Solitaire (Login Solitaire1)
R

For (a very simple) example:

IF num1 = 5 THEN
'etc
ELSEIF num1 = 6 THEN
'etc
ELSEIF num2 = 6 THEN
'etc
END IF


Using SELECT CASE, only num1 can be compared to different values.

Posted on Jan 20, 2009, 12:45 PM

Respond to this message   

Goto Forum Home