![]() |
Do NOT use CODE tag for posting source code
Do NOT use CODE tag for posting source code
Code:
// THIS PIECE OF CODE MAKES NO SENSE: PHP Code:
|
Re: Do NOT use CODE tag for posting source code
w00t, neat stuff indeed !
I wonder if I could not hack the PHP scripts to have colors inside [ code ] tags as well... |
Re: Do NOT use CODE tag for posting source code
ROFL,yeah, and when you're on it, make the colors more msvc like :) :D
|
Re: Do NOT use CODE tag for posting source code
nice!
|
Re: Do NOT use CODE tag for posting source code
highlight_string() is the php function your looking for.
|
Re: Do NOT use CODE tag for posting source code
Some people (like me) think the colored text is HARDER (not easier) to read.
botman |
Re: Do NOT use CODE tag for posting source code
even with neat colors, ladies ?
Code:
// hello, I'm a comment |
Re: Do NOT use CODE tag for posting source code
and now with the punctuation blue color removed...
Code:
// hello, I'm a comment |
Re: Do NOT use CODE tag for posting source code
lets see if it works
Code:
#include <stdio.h> http://neuron.tuke.sk/~wagner/code.gif |
Re: Do NOT use CODE tag for posting source code
And there is a big bug IMO in code tag, when you copy it (select with mouse and CTRL-C) and then you paste it somewhere (MSVC or Far manager) no 'enters' are copied. No '\n' char, no 0D or 0D 0A chars o_O
Example : http://neuron.tuke.sk/~wagner/enter.gif |
Re: Do NOT use CODE tag for posting source code
Wow, this thread is almost as good as the Steam Poems :)
|
Re: Do NOT use CODE tag for posting source code
Quote:
Proof : http://racc.bots-united.com/codetags.png |
Re: Do NOT use CODE tag for posting source code
testing 123
Code:
#include "exclude.h" |
Re: Do NOT use CODE tag for posting source code
yes, it works perfectly now, thanx
|
Re: Do NOT use CODE tag for posting source code
Quote:
U CAN THANK ME FOR STARTING IT ROFL!! |
All times are GMT +2. The time now is 07:30. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.