This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
SupaMiner's profile picture

Little Question..

Started by SupaMiner, 08 October 2012 - 02:20 AM
SupaMiner #1
Posted 08 October 2012 - 04:20 AM
Where do I find a list of methods? I'm from ROBLOX. I have mastered RBX.Lua. Just wondering where the list of methods is, if there is one..

It's stuff like:


term:Clear()


Like this page for ROBLOX:

http://wiki.roblox.c...ategory:Methods



Think I found it:

http://computercraft.info/wiki/index.php?title=Category:APIs

Am I right?
Edited on 08 October 2012 - 02:23 AM
brett122798 #2
Posted 08 October 2012 - 04:26 AM
Here's the useful ones I know of:


sleep(int) -- Replace 'int' with the number of seconds you want the computer to pause for

term.clear() -- Clears screen

term.setCursorPos(x, y) -- Set the cursor somewhere, I believe the limits are (49, 18) EDIT: Sorry, that's just the screen size, not the limit
SupaMiner #3
Posted 08 October 2012 - 04:29 AM
Man, I just got some excitement!! Seeing all these methods, makes me happy :D/>/>!!

If RBX.Lua is easy, this should be easier. These methods make things easy..
nolongerexistant #4
Posted 08 October 2012 - 06:26 AM
You could also try the wiki to find some

Spoilerhttp://computercraft.info/wiki/index.php?title=Term_%28API%29
http://computercraft.info/wiki/index.php?title=Redstone_%28API%29
http://computercraft.info/wiki/index.php?title=Peripheral_%28API%29
http://computercraft.info/wiki/index.php?title=Rednet_%28API%29

The random page link could be usefull to find some thing to if you don't know what your looking for :D/>/>
Pharap #5
Posted 08 October 2012 - 11:01 AM
Go nuts: http://computercraft.info/wiki/index.php?title=Category:APIs