This is some code
VB Code:
If strName = "ILMV" then MsgBox "w00t" End If
Using PHP etc, how do i colour code like that ^^^
Printable View
This is some code
VB Code:
If strName = "ILMV" then MsgBox "w00t" End If
Using PHP etc, how do i colour code like that ^^^
Python
Code:# Find out what char the term has.
for link in constants.LINK_CHAR:
if link[0] == term and char1 != '':
char2 = link[1]
if link[0] == term and char1 == '':
char1 = link[1]
PHP Code:#include <stdio.h>
#include <conio.h>
#include <stdlib.h>
#include <dos.h>
void main()
{
int i,j;
clrscr();
textmode(C80);
for(i=1;i<26;i++)
{
for(j=1;j<80;j++)
{
gotoxy(j,i);
textbackground(rand() % 15);
delay(10);
cprintf(" ");
}
}
getch();
}
Code:#include <stdio.h>
#include <conio.h>
#include <stdlib.h>
#include <dos.h>
void main()
{
int i,j;
clrscr();
textmode(C80);
for(i=1;i<26;i++)
{
for(j=1;j<80;j++)
{
gotoxy(j,i);
textbackground(rand() % 15);
delay(10);
cprintf(" ");
}
}
getch();
}
#include <stdio.h>
#include <conio.h>
#include <stdlib.h>
#include <dos.h>
void main()
{
int i,j;
clrscr();
textmode(C80);
for(i=1;i<26;i++)
{
for(j=1;j<80;j++)
{
gotoxy(j,i);
textbackground(rand() % 15);
delay(10);
cprintf(" ");
}
}
getch();
}
I wish if there was auto indentation in [code] and [Highlight=VB] tags
EDIT: Just testing if it's gonna show in the same colors (using the VBF FF extension) and I totally forgot you made it :afrog:Code:# Find out what char the term has.
for link in constants.LINK_CHAR:
if link[0] == term and char1 != '':
char2 = link[1]
if link[0] == term and char1 == '':
char1 = link[1]