Around here you see a lot of spaced out BB code (Eg. [ b ]). I think we should be able to use escape characters, so we don't have to use the spaces. Good idea?
Page 1 of 1
BB Escape Characters
#1
Posted 04 September 2005 - 11:12 AM
Chris Spencer [ aka Lorian ]
Wildfire Games Community Member
Contact me: spencercwNOSPAM@googlemail.com
My system:
Jeantech Achilles gaming case
AMD Sempron 2600+ 1.6GHz (running at 2.6GHz)
Abit NV8
Western Digital 80GB
nVidia GeForce 6800 XT 256MB
Kingston DDR 400 512MB x2
Enermax Noisetaker 370W
Samsung DVD-ROM
Generic CD-RW
Wildfire Games Community Member
Contact me: spencercwNOSPAM@googlemail.com
My system:
Jeantech Achilles gaming case
AMD Sempron 2600+ 1.6GHz (running at 2.6GHz)
Abit NV8
Western Digital 80GB
nVidia GeForce 6800 XT 256MB
Kingston DDR 400 512MB x2
Enermax Noisetaker 370W
Samsung DVD-ROM
Generic CD-RW
#3
Posted 04 September 2005 - 03:03 PM
a character you put in front of some code (in this case a bb tag) which tells the procesor not to process that part essentially making it similar to the code tags except only for a single tag and without all the highlighting etc.
Shan Coster [AKA Centurion_13]
Wildfire Games - 0ad Texture Artist
Contact me: shan_c@wildfiregames.com || Centurion13@gmail.com (prefered address)
Member of: The Hellenes Liberation Faction
Wildfire Games - 0ad Texture Artist
Contact me: shan_c@wildfiregames.com || Centurion13@gmail.com (prefered address)
Member of: The Hellenes Liberation Faction
#4
Posted 04 September 2005 - 05:27 PM
You are obviously not a programmer Argalius 
Here is an example in PHP:
echo "some text with "double" quote";
Would give a parse error
echo "some text with \"double\" quote";
Would output:
some text with "double" quote
Here is an example in PHP:
echo "some text with "double" quote";
Would give a parse error
echo "some text with \"double\" quote";
Would output:
some text with "double" quote
Chris Spencer [ aka Lorian ]
Wildfire Games Community Member
Contact me: spencercwNOSPAM@googlemail.com
My system:
Jeantech Achilles gaming case
AMD Sempron 2600+ 1.6GHz (running at 2.6GHz)
Abit NV8
Western Digital 80GB
nVidia GeForce 6800 XT 256MB
Kingston DDR 400 512MB x2
Enermax Noisetaker 370W
Samsung DVD-ROM
Generic CD-RW
Wildfire Games Community Member
Contact me: spencercwNOSPAM@googlemail.com
My system:
Jeantech Achilles gaming case
AMD Sempron 2600+ 1.6GHz (running at 2.6GHz)
Abit NV8
Western Digital 80GB
nVidia GeForce 6800 XT 256MB
Kingston DDR 400 512MB x2
Enermax Noisetaker 370W
Samsung DVD-ROM
Generic CD-RW
#5
Posted 04 September 2005 - 05:58 PM
Ok, now I get it, I so this method in a php file once I didn't understand why it was used though, just copied it.
#6
Posted 04 September 2005 - 06:33 PM
Well now you know 
It gets rather irritating though, when you are writing/reading stuff in real life and you see un-escaped quote characters
It gets rather irritating though, when you are writing/reading stuff in real life and you see un-escaped quote characters
Chris Spencer [ aka Lorian ]
Wildfire Games Community Member
Contact me: spencercwNOSPAM@googlemail.com
My system:
Jeantech Achilles gaming case
AMD Sempron 2600+ 1.6GHz (running at 2.6GHz)
Abit NV8
Western Digital 80GB
nVidia GeForce 6800 XT 256MB
Kingston DDR 400 512MB x2
Enermax Noisetaker 370W
Samsung DVD-ROM
Generic CD-RW
Wildfire Games Community Member
Contact me: spencercwNOSPAM@googlemail.com
My system:
Jeantech Achilles gaming case
AMD Sempron 2600+ 1.6GHz (running at 2.6GHz)
Abit NV8
Western Digital 80GB
nVidia GeForce 6800 XT 256MB
Kingston DDR 400 512MB x2
Enermax Noisetaker 370W
Samsung DVD-ROM
Generic CD-RW
#7
Posted 28 September 2005 - 09:29 AM
How about [\b]This is escaped BB code[\/b] ?
Tim Koschuetzki [ aka DarkAngelBGE ]
Wildfire Games Community Administrator, Webmaster, Human Resources Manager
Contact me: tim@wildfiregames.com
My website: tim-koschuetzki.com
Recent work: PHP Design Patterns | PHP Coding Practices | Stop the Smoking! | My Services | My Blog
Support Wildfire Games!
Wildfire Games Community Administrator, Webmaster, Human Resources Manager
Contact me: tim@wildfiregames.com
My website: tim-koschuetzki.com
Recent work: PHP Design Patterns | PHP Coding Practices | Stop the Smoking! | My Services | My Blog
Support Wildfire Games!
#8
Posted 28 September 2005 - 06:51 PM
Sound good, except it should remove the extranious slashes
Chris Spencer [ aka Lorian ]
Wildfire Games Community Member
Contact me: spencercwNOSPAM@googlemail.com
My system:
Jeantech Achilles gaming case
AMD Sempron 2600+ 1.6GHz (running at 2.6GHz)
Abit NV8
Western Digital 80GB
nVidia GeForce 6800 XT 256MB
Kingston DDR 400 512MB x2
Enermax Noisetaker 370W
Samsung DVD-ROM
Generic CD-RW
Wildfire Games Community Member
Contact me: spencercwNOSPAM@googlemail.com
My system:
Jeantech Achilles gaming case
AMD Sempron 2600+ 1.6GHz (running at 2.6GHz)
Abit NV8
Western Digital 80GB
nVidia GeForce 6800 XT 256MB
Kingston DDR 400 512MB x2
Enermax Noisetaker 370W
Samsung DVD-ROM
Generic CD-RW
Share this topic:
Page 1 of 1

Sign In »
Register Now!
Help









