Code alignment

Blitz3D Forums/Blitz3D Programming/Code alignment

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.

Hey peeps- Anyone know of a tool that will sort my unorganised looping out?


Ive typed code like such:
For....
yada yada
if
yada yada
endif
next


and i need it turned into

For
   Yada Yada
   if
      Yada Yada
   endif
next



Etc etc....

Please help- i need to type in some code but ive lost where my codes going. at the moment my code is very clean and efficient but my indents arent right....

Cheers :D