You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
LOLCODE supports standard input/output through the following keyword:
CAN HASSTDIO?
Opening files
LOLCODE supports file I/O. To open a file, simply run this:
LOLCATS.txt
PLZ OPEN FILE"LOLCATS.TXT"?AWSUM THXVISIBLEFILEO NOESINVISIBLE"ERROR!"
Defining a variable
Defining variables in LOLCODE can be done like so:
I HAS AVAR
Defining a loop
LOLCODE 1.0
Defining a loop in LOLCODE 1.0
HAI1.0IM IN YRLOOPUPVAR!!1VISIBLEVARIZVARBIGGER THAN10?KTHXIM OUTTA YRLOOPKTHXBYE
LOLCODE 1.2
Defining a loop in LOLCODE 1.2
HAI1.2CAN HASSTDIO?IM IN YRLOOPUPPIN YRVARTILBOTH SAEMVARAN10VISIBLESUMOFVARAN1IM OUTTA YRLOOPKTHXBYE
Other knowledge of the LOLCODE programming language
LOLCODE is a language by [Unknown]
LOLCODE is not a semicolon and curly bracket language
LOLCODE uses the*.lol and*.lols file extensions
LOLCODE is an esotoric programming language
Currently, as of 2022 Wednesday July 27th, 1 variant of LOLCODE is turing complete
LOLCODE is influenced by the Lolcat series of Internet memes
LOLCODE is not one of the top 50 programming languages (as of 2022)
LOLCode is one of the top 50 esotoric programming languages (as of 2022)
No other knowledge of the LOLCODE programming language
Additional comments
LOLCODE is a fun language to write in. I would love to use it for serious purposes, but my usage will remain limited. Unfortunately, I cannot has supercomputer lolz.