how did you manage to write that post with the leading spaces in the lines?

If you surround the stuff you want to preserve the formatting of (ie leading and/or multiple spaces on lines, typically indented code), you can use the [ code] or [ pre] tags. It also uses another (fixed width?) font.

/Michael
_________________________
/Michael