Game Development Community

Posting Code

by Steve Fletcher · in Technical Issues · 04/19/2004 (6:26 pm) · 2 replies

I just posted some code in another thread, and it took out all the tabs at the beginnings of the lines. I tried using spaces instead of tabs, but that didn't work either.

How do I post code without the leading whitespace disappearing?

#1
04/19/2004 (6:36 pm)
Place your code between "[ code]" and "[ /code]" tags. Take the space out after the first bracket. I just put that in there so it wouldn't be parsed.
#2
04/20/2004 (6:00 pm)
Thanks. That will make my life alot easier.