Reply To: Switch Bits Problem

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

  • Topics: 219
  • Replies: 732
  • Total: 951
  • β˜…β˜…β˜…

Indenting code… when to tab that is the question?

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

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