Owner: Jawad
Members: 92
Description
We think in binary
 
New Feature! Highlight Code - 06 November, 2006
Jawad Shuaib says
Guys, sometime ago I promised some people that Shuzak will eventually support highlighting programming syntax. I felt this as very important as many people felt frustrated over this on other social networks. Well anyway, now you can post your code and have it highlighted. It supports several languages and indents the code as you desire (something Samus tried getting on Orkut for programmers). Here is an example:

[code=php]
 
<?
Sayit ("hello world");
function Sayit ($message) {
    echo $message;
} // Prints hello world
?>
[/code]

Go ahead, give it a try
Total Topic Karma: 2 - More by this Author
B A B B A R says
+0 Ratings
leah!
- 06 November, 2006
B A B B A R says
+0 Ratings
can i try C?
- 06 November, 2006
B A B B A R says
+0 Ratings
[code=default]
 
printf("Singh is King" \n)
[/code]
- 06 November, 2006
B A B B A R says
+0 Ratings
nice!
- 06 November, 2006
(Guest) says
+0 Ratings
[code=default]
 
MOV EAX,BABBAR_IS_INDIAN
TEST EAX,EAX
JNZ NOT_TRUE
MOV EAX,TRUE
RET
NOT_TRUE:
MOV EAX,FALSE
RET
[/code]

Let's see how it handles x86 assembly lol.
- 06 November, 2006
B A B B A R says
+0 Ratings
looooool Bostonpimp write the Hc11 codes here! lool
- 06 November, 2006
B A B B A R says
+0 Ratings
Display "Babbar" on LCD
- 06 November, 2006
isaac_8e says
+0 Ratings
[code=default]
 
LDAA SINGH_IS_KING
CMPA #$0
BNE SINGH_=_KING
CLRA
RTS
SINGH_=_KING
LDAA #$1
RTS
[/code]
- 06 November, 2006
isaac_8e says
+0 Ratings
Handles it well. Great work JShuaib. West Pakistan *props*.
- 06 November, 2006
isaac_8e says
+1 Ratings
Also Babbar you C code is not syntactically correct.

Also the x86 code isnt complete correct either. Lol. Quick write.
- 06 November, 2006
B A B B A R says
+0 Ratings
if i had that much free time i would have joined microsoft by now!
- 06 November, 2006
isaac_8e says
+1 Ratings
LOL Just because Jawad is doing something and you aren't lol. I personally could see Pakistan working w/ Google.

Anyway Jawad, I am still waiting till the time I can order fried chicken from Shuzak !
- 06 November, 2006
B A B B A R says
+0 Ratings
Jawad doesn't need to work with Google!

he can just build his own company titled "Joogle" LOOOOOOOOOL!

then we all can work there!.....
- 06 November, 2006
B A B B A R says
+0 Ratings
man..these pakis are born smart....shit!....

the sad thing is that they were all indians...and look where they are now!

damn!
- 06 November, 2006
aatiff says
+0 Ratings
while(true)
{
System.Out.print("Aatif");
}
- 07 November, 2006
aatiff says
+0 Ratings
[code=default]
 
while(true)
{
System.Out.print("Aatif");
}
[/code]
- 07 November, 2006
Jawad Shuaib says
+0 Ratings
I see that you guys are trying to use C here. C is actually not supported yet, however I just use Javascript's syntax to highlight C since they are syntatically very similar.


Babbar wth? After taking three years of computer engineering, you still can't print out Singh is King? lol@Isaac's code
- 09 November, 2006
B A B B A R says
+0 Ratings
Ya Man....

that is so true!

holy.....but the idea was righT....u just have to diss me all the time...just bcz i am Indian!
- 14 November, 2006
B A B B A R says
+0 Ratings
Dont make me program a robot that will bombard Pakistan and leave it in dire straits.
- 14 November, 2006
(Guest) Samus_ says
+0 Ratings
excellent!
- 25 November, 2006
Comment:

Name: