Page 1 of 1

LOLCODE

Posted: 2008.08.21 15:31
by Marcus
HAI
CAN HAS STDIO?
VISIBLE "HAI WORLD!"
KTHXBYE

http://lolcode.com/examples/hai-world

HAI
CAN HAS STDIO?
PLZ OPEN FILE "LOLCATS.TXT"?
AWSUM THX
VISIBLE FILE
O NOES
INVISIBLE "ERROR!"
KTHXBYE

http://lolcode.com/examples/filezorz

HAI
CAN HAS STDIO?
I HAS A VAR
GIMMEH VAR
IZ VAR BIGGER THAN 10?
YARLY
BTW this is true
VISIBLE "BIG NUMBER!"
NOWAI
BTW this is false
VISIBLE "LITTLE NUMBER!"
KTHX
KTHXBYE

http://lolcode.com/examples/little-number