At present (not the worst example, from B4J-code):
After copying to "Bascom-AVR"-IDE and applying "Proper Indent":
Note the green vertical line. For each nested structure an equivalent line is added.
Occasionally I am doing that with the whole code when I have lost overview on how far a structure extends (In B4J I have code where structures extend over a page. Then this procedeure helps a lot).
B4X:
For i=0 To n1
'glatt(i)=glatt(n1)
a(i)=a(n1)
c(i)=c(n1+1)
b(i)=b(n1)
d(i)=d(n1)
Next
For i=m2 To 255
'glatt(i)=glatt(m2)
a(i)=a(m2)
c(i)=c(m2+1)
b(i)=b(m2)
d(i)=d(m2)
Next
After copying to "Bascom-AVR"-IDE and applying "Proper Indent":
Note the green vertical line. For each nested structure an equivalent line is added.
Occasionally I am doing that with the whole code when I have lost overview on how far a structure extends (In B4J I have code where structures extend over a page. Then this procedeure helps a lot).