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

[API] Have I Done This Correctly?

Started by Appleeater, 24 March 2013 - 06:55 AM
Appleeater #1
Posted 24 March 2013 - 07:55 AM
Hello I am Trying To Create My Own API. This is what I have I got so-far Pastebin
KaoS #2
Posted 24 March 2013 - 09:25 AM
there is no wrong way of making an API unless it errors or does nothing… if you need an opinion I think you should probably ask in general, I'm no moderator but I think that's how it works
Mr. Fang #3
Posted 24 March 2013 - 09:30 AM
I have to say it looks fine, however, I would suggest trying to run all of the functions just to test instead of just reading through it more.
Appleeater #4
Posted 24 March 2013 - 11:39 AM
ok, I get a error on line 52? I'm not sure why. First I did in the Lua terminal os.loadApi(mind) and it said about a error on line 52 but when I run it as a program it also gives a error but doesn't specify what line? I'm not on my PC now so I don't have accsess to the error statements.
Mailmanq! #5
Posted 24 March 2013 - 02:19 PM
ok, I get a error on line 52? I'm not sure why. First I did in the Lua terminal os.loadApi(mind) and it said about a error on line 52 but when I run it as a program it also gives a error but doesn't specify what line? I'm not on my PC now so I don't have accsess to the error statements.


os.loadAPI("mind") not os.loadApi(mind)
theoriginalbit #6
Posted 24 March 2013 - 02:26 PM
line 56 rsinputs should be RSinputs
Appleeater #7
Posted 25 March 2013 - 10:46 AM
thanks