mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-08-04 03:27:19 -04:00
Updated Tutorial WritingCode (markdown)
parent
59889f5867
commit
9d032cb105
@ -11,4 +11,6 @@ Once in the editor, start coding. In our case it's just the boring, uncreative-b
|
|||||||
When you're done, press Ctrl+S to save, then press Ctrl+W to close the editor. If you list the contents of the `/tmp` folder now, you'll see the file has been created. Type its name and press enter to run it:
|
When you're done, press Ctrl+S to save, then press Ctrl+W to close the editor. If you list the contents of the `/tmp` folder now, you'll see the file has been created. Type its name and press enter to run it:
|
||||||

|

|
||||||
|
|
||||||
Notice that I didn't type the `.lua` extension when running it. The shell will look for files with that extension if it can't find the file with the exact name you specified.
|
Notice that I didn't type the `.lua` extension when running it. The shell will look for files with that extension if it can't find the file with the exact name you specified.
|
||||||
|
|
||||||
|
If want your programs to survive reboots, **continue by reading on [[how to use hard drives|Tutorial/HardDrives]]**.
|
Loading…
x
Reference in New Issue
Block a user