Recommended Posts

If we don't get exclusive access to https://www.neowin.net/public to upload my LEGIT copy of Windows.Vista.2009.Version.ISO it didn't happen :p

But seriously, how bout some pics ? :ninjapirate: :bounce: And post it in the "post your workstation pics" :) ! :p

I need to see an example of LOLcode!!!!!

Example for opening a file with a lolcode program:

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

and a simple hello world application:

HAI
CAN HAS STDIO?
VISIBLE "HAI WORLD!"
KTHXBYE

Understanding hello world.

HAI - In all LOLCODE programs, HAI (an internet slang misspelling of "hi") introduces the program.

CAN HAS [FILE]? - In many programming languages, one of the first statements will be a library inclusion for common functions such as input and output. Typically this is included by a call such as #include <stdio.h> [stdio standing for standard input/output library]. This command is a tongue in cheek corruption of that, asking if a file is obtainable, obtaining it if possible, and raising an exception if not[4]. It is there primarily for authenticity ? in fact, it is ignored in current implementations of LOLCODEVISIBLE [MESSAGE]u> - prints a message to the screenKTHXBYEu> - As HAI introduces the program, so KTHXBYE (meaning "Okay ? thanks ? bye!") terminates it.

http://en.wikipedia.org/wiki/Lolcode

  • 4 weeks later...
Example for opening a file with a lolcode program:

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

No I'm sorry but your formatting is completely wrong, I have corrected it for you:

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

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.