Reply To: Switch Bits Problem

Home Forums General Using Ctrlr Switch Bits Problem Reply To: Switch Bits Problem

#13423
msepsis
msepsis
Participant
  • Topics: 217
  • Replies: 731
  • Total: 948
  • β˜…β˜…β˜…

Indenting code… when to tab that is the question?

take your first example.. you’d want it to read something more like:

http://pastebin.com/AAF3MFRP

basically when you declare an “if” statement, the stuff after “then” should be indented. Then you back-tab when you want to close the “if” statement.. Especially in your example when you have embedded if statements it helps you understand what you’ve wrote and others understand when it comes time to help you out πŸ™‚

Monstrum Media | Music, Sound & Software Design, Chicago / San Francisco listen

Do NOT follow this link or you will be banned from the site!