Is this a bug?

BlitzPlus Forums/BlitzPlus Beginners Area/Is this a bug?

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.

but then the other way around.

Function f00()
  While 1
    If a
      Select b
        Case 0
          For x=0 to 9
            For y=0 to 9
              If z=0
                Notify "0"
                If k=0
                  If l=4
                    If m$="?"
                      Debuglog "w00!"
                    Endif
                  Endif
                EndIf
              Else
                Notify "not 0"
              Endif
            Next
          Next
        Case 1
          Notify "mmm.."
        Case 2
          Notify "crickey!"
      EndSelect
    Endif
  Wend
End Function


Each time you start a scope-creating command, like For, If, Function, While, Select, etc. you indent its scope by exactly one [TAB] (I suggest 4 chars for a Tab). No matter whether they are the same commands on a row, so if you have 4 If's after each other, then you indent each If individually.