Indentation in forum examples

Reply
N/A
Posts: 0

Indentation in forum examples

I replied to a message including code and the indentation was stripped out, most annoying.
I event tried a *; at the beginning of each line to protect the indentation and that didn't work either.
Are people not supposed to help with code examples?
Can the forum be updated to only remove trailing spaces?
SAS Employee
Posts: 174

Re: Indentation in forum examples

Try specifying the code as preformatted text. PRE and /PRE (enclosed in square brackets) should do the trick.

-- David Kelley, SAS
N/A
Posts: 0

Re: Indentation in forum examples

I see, it works, cool.

[PRE]
data colin;
set badger;
by itself;
run;
[/PRE]
SAS Employee
Posts: 27

Re: Indentation in forum examples

Thanks for the suggestion. I've passed it along to the technical team responsible for maintaining these forums.

Dave
Ask a Question
Discussion stats
  • 3 replies
  • 462 views
  • 0 likes
  • 3 in conversation