02-22-2005, 02:50 PM
Now, whats about "select case"/"switch()"?
I asume that he tests until a result is reached and ingnores the rest.
So, when i have this:
So, what do you think?
Ill go and test it with FreeBASIC and give a result in a moment
EDIT: Just the first case 1: is executed
I asume that he tests until a result is reached and ingnores the rest.
So, when i have this:
Code:
select case test
case 1:
print "Thats happening"
case 2:
print "Not happening"
case 1:
print "Dont know if this will happen"
end select
Ill go and test it with FreeBASIC and give a result in a moment
EDIT: Just the first case 1: is executed