Organizing code

Blitz3D Forums/Blitz3D Programming/Organizing code

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

You are telling me that:
If a=5 then
If a=15 Then Print "Moo"
EndIf

is faster than:
If a=5 or a=15 Then Print "Moo"

is that the same for 'and'?:
If a=5 and b=5 Then Print "Moo"

what about:
If a=5 or a=15 or a=25 or a=35 or a=45 Then Print "Moo"

should it be:
If a=5
If a=15
If a=25
If a=35
If a=45 then Print "Moo"
EndIf
EndIf
EndIf
EndIf

is that correct??