View Single Post
Old 04-30-2005, 12:26 PM   #9 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,736
redhead is on a distinguished road
the "brackets" are the [code ] and [/code ] tags but without the spaces befor the closing brackets.
the keyname here is code, when the vBulletin viewer reads the text to show for you, it will look for a start bracket '[' then look for a keyword, in this case code then look for a end bracket ']', once this matches it will show everything written after that in a special way, once it encounters an ending tag beginning with a start bracket '[', a slash '/' and the keyword it previus found, here code is looked for again, ending with a closing bracket ']' it will stop showing the text in a specific way..
Thus you will write [code ] then your intended code and end your code with [/code ] (without the spaces betwenn the keyword and the brackets)
When doing so, the code will appear more readable since indentation is kept as written, which in terms makes it easier to read and trouble shoot.
In order to see this in action, you can click the add code button in the advanced posting section, then you will see how it automaticaly adds the [code ] and [/code ] around the text which is written as intended code.

I hope this clarifies it a bit more.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote