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
color=red]Look at you, Hacker. A pathetic creature of meat and bone, panting and sweating as you run through my corridors. How can you challenge a perfect, immortal machine?" - Shodan, AI at Citadel Station orbiting Earth[/color]