![]() |
sevenstring guitars | sevenstring registry | photo gallery | |||
|
![]() |
![]() |
![]() |
![]() |
![]() |
|
| - Tech support, gaming, gadgets, electronics and general computer discussion here. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 |
|
Cold As Ice
![]() Join Date: Nov 2006
Location: Northern Virginia
Posts: 6,757
Real Name: Matt
Main Seven: Carvin 727
Rig: Axe-Fx>DCM150>Bogner
Thanked: 92
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
LOLCODE FTW!
Don't think anyone has posted this yet.... the following was taken from here:
Linux.com | It is can be LOLCODE time plz? "I can has syntax? The LOLCODE language is still being developed, but you can start learning LOLCODE and even help shape its development. If you're a fan of lolcats, you'll find the syntax easy to remember. If you're not, you probably haven't read this far. What introduction to a language would be complete without the ever-popular "Hello World!" example? LOLCODE provides a "HAI WORLD!" example instead. You begin each LOLCODE application with the HAI statement. Next, use the LOLCODE print statement, VISIBLE, and finish your application with KTHXBYE: Code:
HAI VISIBLE "HAI WORLD!" KTHXBYE You'll notice, of course, that everything in LOLCODE is in all caps. I'm in ur loop, iterating ur variable To declare a variable in LOLCODE, use the I HAS A statement, like so: I HAS A CHEEZBURGER Here, we're declaring CHEEZBURGER as a variable. Let's take a look at a short script that will iterate CHEEZBURGER and print out its value: Code:
HAI
I HAS A CHEEZBURGER ITZ 1
IM IN YR LOOP
VISIBLE "I has dis many: " N CHEEZBURGER
IZ CHEEZBURGER BIGGER THAN 11 O RLY?
YA RLY
GTFO
NO WAI
UP CHEEZBURGER!!1
KTHX
KTHX
KTHXBYE
Next, we print out the current number using the VISIBLE function. You need to include N CHEEZBURGER rather than just CHEEZBURGER to print out the value of CHEEZBURGER. Then we do a comparison test, to see if the value is greater than the amount we want to trigger the end of the loop. UP CHEEZBURGER!!1 tells LOLCODE to add one to the value of CHEEZBURGER. When we do the test, if it matches (YA RLY) LOLCODE will GTFO and exit the loop. If it doesn't (NO WAI) it will iterate the variable again. Note that the loop ends with KTHX rather than KTHXBYE, which is recommended only for closing the whole program block. Finally, we end the program block with KTHXBYE. " ![]() ![]() |
|
|
| Thanked by: |
|
|
#2 |
|
<3's Tsukasa
![]() Join Date: Oct 2005
Location: Virginia
Posts: 16,600
Real Name: Kagami
Main Seven: Blackjack ATX
Rig: Randall RG75G2C
Thanked: 201
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
omg
<3 ![]() |
|
|
|
|
#3 |
|
hates fanboys.
![]() Join Date: Apr 2007
Location: A Technological Deadzone
Posts: 8,733
Real Name: Mike
Main Seven: Schecter C7 Blackjack
Main ERG: I haven't felt the need..
Rig: MP-1>50/50>Vader
Thanked: 65
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
I DID HAS LOLZ!!
![]() |
|
|
|
|
#4 |
|
...
![]() Join Date: Apr 2005
Location: Finland
Posts: 2,531
Real Name: Mancomb
Main Seven: RG1527RB with BKP's
Rig: Line 6 Toneport UX1
Thanked: 7
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
lol
![]()
Through the darkness of futures past
The magician longs to see One chants out between two worlds Fire Walk With Me |
|
|
|
|
#5 |
|
Metal Machine =)
Join Date: Aug 2006
Location: Derby, UK
Posts: 2,719
Real Name: Ross The Great
Main Seven: 666 strings only
Rig: POD XTLive
Thanked: 7
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
is it can be caturday tiem now pleez?
Sabaton
![]() |
|
|
|
|
#6 |
|
OldschoolGhettostyle
Join Date: Aug 2005
Location: Tokyo
Posts: 12,146
Real Name: Eric
Main Seven: RG1527-GK
Main ERG: RG7EXFX2-IPT
Rig: GNX3000
Thanked: 37
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
What the...?
![]() |
|
|
|
|
#7 |
|
I'm your huckleberry
• Super Moderator •
Join Date: Aug 2005
Location: Woodbridge, VA
Posts: 17,586
Real Name: Dave
Main Seven: KxK V7 - The Emo Killer
Rig: Roadster/GMaj/4x12
Thanked: 290
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Why does this exist?
![]()
Noodles
Division: American Metal without the suck. sales@kxkguitars.com "Somewhere along the way, the Straight Talk Express lost some wheels..." --Barack Obama on John McCain |
|
|
|
|
#8 |
|
The Church of SEVEN
• Super Moderator •
Join Date: Jul 2005
Location: Woodbridge, VA
Posts: 8,021
Real Name: Mike
Main Seven: Jackson CS Soloist 7
Rig: Mesa Triple Recto
Thanked: 30
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Because some people have WAY too much time on their hands.
![]() |
|
|
|
|
#9 |
|
hates fanboys.
![]() Join Date: Apr 2007
Location: A Technological Deadzone
Posts: 8,733
Real Name: Mike
Main Seven: Schecter C7 Blackjack
Main ERG: I haven't felt the need..
Rig: MP-1>50/50>Vader
Thanked: 65
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
I wanna know where to get the compiler.
|
|
|
|
|
#10 |
|
I'm your huckleberry
• Super Moderator •
Join Date: Aug 2005
Location: Woodbridge, VA
Posts: 17,586
Real Name: Dave
Main Seven: KxK V7 - The Emo Killer
Rig: Roadster/GMaj/4x12
Thanked: 290
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
YOU HASTA CODES IT URSELF KTHNX.
|
|
|
![]() |
| Tags |
| lolcode, kthxbye, gimmeh, can has, o rly |
| Thread Tools | |
| Display Modes | |
|
![]() | |
![]()
![]()
![]()
|
Powered by vBulletin 3.7.3 Copyright ©2000 - 2008, Jelsoft Enterprises Ltd. Search Engine Optimization by vBSEO 3.2.0 "777" Logo © Darren Wilson Privacy Policy Affiliate Links Directory ![]()
|