but then the other way around.
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.
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.