I thought professional programmers indented their code?

by Pete (no login)

Hi Zom-B,

Maybe it's been too long for you to remember, but N54 doesn't preserve spaces in posts. If you have a Network54 user name, I can add you to the "R" group. That will at least allow you to edit your post, but to get indented code, you will need to open your code in WordPad, and do a global replace, Ctrl + H, to replace 2-spaces with Alt + 0160 Alt + 0160 on the numbers pad:

This
 is
  an
   example.

Thanks for posting it though,

Pete

- Network54, so simple... a caveman "did" do it.



    
This message has been edited by The-Universe on Aug 28, 2010 3:11 PM

Posted on Aug 28, 2010, 3:05 PM

Respond to this message   

Return to Index


Response TitleAuthor and Date
You once said you dont indent your codeBen on Aug 28
 But I do use asterisks for blank posts... and apostrophes for contractions. on Aug 28
  I thought I had to use a kind of bbcode tag to keep indentation on this forum.Zom-B on Aug 30
   Ahoy matey, you're in the "R" Group. on Aug 30
    *Thanks, but I still can't edit that message because i wasn't logged in when I posted it.Zom-B on Aug 31
    Re: Ahoy matey, you're in the "R" Group.codeguy on Sep 4
   * Indentation also messes up comment alignment. I think I'll start another Crusade. :-P on Aug 30
Re: I thought professional programmers indented their code?codeguy on Sep 5