[And why does code markup not keep indents but add blank lines?]
This.
Not a member of The Register? Create a new account here.
Remember me on this computer? Post anonymously?