[futurebasic] Re: FB GOTO efficiency

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : October 1999 : Group Archive : Group : All Groups

From: Ian Mann <i.mann@...>
Date: Wed, 20 Oct 1999 20:37:22 +0000
I am not sure about this but I _think_ that in the structure;

select case x%

case 1
turn blue
case 2,3
fry an egg
case 4
peel a banana
end select

The  program flow jumps straight to the true case line, in other words
only one test is made.

This is much faster than tripping through a long line of ifs.

Best Regards


Ian Mann