If you put the [ code ] above and [/ code ] below the code the formatting of the code is preserved and it is much easier to read. You should leave out the spaces in the code tags.

See KiXtart FAQ & How to's » The Post/Reply Formatting Box and How to use it for more info about the options when making a post.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.