coloured code

large_ghostman

Well-Known Member
Most Helpful Member
anyone know how you get the code to be coloured when using the code tags? i have seen some on here but not sure how its done
 
ok thanks
 
tried and it didnt work!! can you do a screen shot of a page edit showing what you mean?
 
anyone know how you get the code to be coloured when using the code tags? i have seen some on here but not sure how its done
LG, just testing it out,,, sorry no luck at my end,,,,

Code = C
void Slow_Delay(void)
{
int i, j;
for(i=0;i<4000;i++)
{
for(j=0;j<2;j++)
{
}
}
}
/Code
 
at least now i dont feel stupid
 
checking
Code:
void Slow_Delay(void)
{
int i, j;
for(i=0;i<4000;i++)
{
for(j=0;j<2;j++)
{
}
}
}
 
i got the same as eric
 
fvm i can get normal code tags to work just not the C code tags
 
thanks mr Ian got it working
 
BTW why declare a variable then not use it!
 
If we do code=asm, do we get the standard (?) Microchip colors? Or, should it be code=mpasm?

That is a nice enhancement.

John
 
not sure with ASM, yes it is a nice touch, i use programmers note pad II, so i like it as it looks the same on here as it does in that
 
I just did a quick and dirty test using preview, if that is an accurate way for a user to test. Neither code= asm nor code=mpasm work completely. Each gives colors, but they are messed up.

John
 
i just get a blank page with that link EM
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…