How to post code in a message
-
Is it possible to post code in a message without all of the leading blanks being ignored so everything is left-justified? Thanks. Rennie
Use the <pre> tag.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 -
Use the <pre> tag.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001Thanks. As a side-effect, two blank lines get collapsed to zero blank lines. Is there any way to avoid that? (One blank line is maintained as one blank line.) Rennie Edit: Never mind, it's something else. It's completely empty lines that are being collapsed. A single blank character prevents it.
-
Thanks. As a side-effect, two blank lines get collapsed to zero blank lines. Is there any way to avoid that? (One blank line is maintained as one blank line.) Rennie Edit: Never mind, it's something else. It's completely empty lines that are being collapsed. A single blank character prevents it.
Put a space character in the blank lines.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008