Computercraft:Hello World Tutorial: Difference between revisions

(Computercraft Hello World tutorial)
 
(Admiration Calculator)
Line 1: Line 1:
 
I in need of to portion this milieu I found when looking for discount auto parts, they saved me 100s of dollars when I was getting my wheels back on the road last month, so I thought I'd revenue the karma and accord them a tumescence on here. All things considered 'disregard auto parts' time out to be anything but, and you denouement up spending over-the-odds for below grade parts and yeah, that's no longer a blunder I can contribute to fabricate, who can in this restraint, right? So, rpm-motots-inc.com are divergent, like non-standard real, really different. First up, the amount you are quoted is the rate you pay, no arcane extras. The parts I ordered were all in stock, were shipped firm and were superbly packaged. I was amazed with the grade, chiefly recompense the feeble bonus I paid, which was  
==If you havn't read the [[Computercraft:Getting Started]], do that first!==
$391 cheaper than the in vogue allowance auto parts sites. I had a scarcely any questions before I ordered and the staff I spoke to were bloody cooperative, and knew their stuff. Their guy handling and range of parts is impressive, rpm motors certainly watch over their promises when it comes to take auto parts.
 
It is required to read that first, before you can start with the tutorials!
 
 
==What is "Hello World"==
 
Hello World is gonna be your first basic program. It will display the text "Hello World" when you run it.
This program isn't gonna be anything big, as it is mainly your begin at the wonderfull LUA language.
 
 
==The tutorial==
[[File:HW2.png|thumb|264px|"Hello World" code]]
1. To start, just craft a computer and place it. (If you didn't do that yet)
 
2. Open the computer, and create a program. Call it how you like it, but i will be using "hw" as name.
( Type "edit filename" to create the file!)
 
3. The function you are gonna need is the "print" function, so type in  
 
print "Hello World"
What you just did, was told the computer by typing "print". That there was gonna be some text he had to display.
What he could be displaying could be anything, such as an variable. But that aren't we doing here, it just has to display the same text at all times. Thats thy the "Hello World" is between those quotation marks.
 
4. Save the program, and run it to check if it works.
(Save/Exit in [ctrl] menu)
 
 
==See Also==
*[[Computercraft Tutorials]]
 
[[Category:Computercraft]]
[[Category:Tutorials]]

Revision as of 02:12, 4 July 2012

I in need of to portion this milieu I found when looking for discount auto parts, they saved me 100s of dollars when I was getting my wheels back on the road last month, so I thought I'd revenue the karma and accord them a tumescence on here. All things considered 'disregard auto parts' time out to be anything but, and you denouement up spending over-the-odds for below grade parts and yeah, that's no longer a blunder I can contribute to fabricate, who can in this restraint, right? So, rpm-motots-inc.com are divergent, like non-standard real, really different. First up, the amount you are quoted is the rate you pay, no arcane extras. The parts I ordered were all in stock, were shipped firm and were superbly packaged. I was amazed with the grade, chiefly recompense the feeble bonus I paid, which was $391 cheaper than the in vogue allowance auto parts sites. I had a scarcely any questions before I ordered and the staff I spoke to were bloody cooperative, and knew their stuff. Their guy handling and range of parts is impressive, rpm motors certainly watch over their promises when it comes to take auto parts.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Need wiki hosting?

Do you need a wiki for your Minecraft mod/gaming wiki? We'll host it for free! Contact us.

Other wikis

Indie-game wikis
Powered by Indie Wikis