1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-06-14 01:06:48 +00:00
CC-Tweaked/src/main/resources/data/computercraft/lua/rom/help/programming.txt
SquidDev d847a4d9e0 Merge branch 'master' into mc-1.14.x
This also deletes display list support - MC 1.14 now requires VBOs to be
supported in some capacity.
2020-04-22 09:45:23 +01:00

12 lines
749 B
Plaintext

To learn the lua programming language, visit http://lua-users.org/wiki/TutorialDirectory.
To experiment with lua in CraftOS, run the "lua" program and start typing code.
To create programs, use "edit" to create files, then type their names in the shell to run them. If you name a program "startup" and place it in the root or on a disk drive, it will run automatically when the computer starts.
To terminate a program stuck in a loop, hold Ctrl+T for 1 second.
To quickly shutdown a computer, hold Ctrl+S for 1 second.
To quickly reboot a computer, hold Ctrl+R for 1 second.
To learn about the programming APIs availiable, type "apis" or "help apis".
If you get stuck, visit the forums at http://www.computercraft.info/ for advice and tutorials.