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

Finding information on API's

Started by Crucidal, 13 August 2014 - 05:09 PM
Crucidal #1
Posted 13 August 2014 - 07:09 PM
Hey,

Hopefully this is the right place for this topic 0=)

I'm writing my own API to replace basic movement functions from a turtle with my own functions in order to keep track of a turtle's relative position.
I know there's the GPS system and there are ready-made program's to be found but I prefer creating something of my own.

The challenge I am facing is with defining "class variables" (I don't know if this term makes sense but I've only been taught a little Java) and how to call and/or change those in a program that loads my API.

I am certain that questions about this have been asked on this forum before but the search-function of the forum kind of denies me to look for API related questions since API is a three letter word. (less than 4)
Do you guys have any tips on how to search through the forum effectively? I'm a slow reader so I prefer not to scroll through all the pages of posts x)

regards,
Crucidal
Bomb Bloke #2
Posted 13 August 2014 - 07:46 PM
Start with this tutorial, I guess, then post some more specific questions about what you're trying to achieve if you need to.

If you throw "site:computercraft.info" into a standard web search (sans quotes), it'll limit your results to just this domain.
Cranium #3
Posted 13 August 2014 - 07:47 PM
Yeah, the search on the forums is fairly useless, but searching with Google or some such with the addition of the terms Bomb Bloke mentioned returns far more useful information.
Crucidal #4
Posted 13 August 2014 - 07:53 PM
Start with this tutorial, I guess, then post some more specific questions about what you're trying to achieve if you need to.

If you throw "site:computercraft.info" into a standard web search (sans quotes), it'll limit your results to just this domain.

Thanks,
I read it and wrote a post.

Yeah, the search on the forums is fairly useless, but searching with Google or some such with the addition of the terms Bomb Bloke mentioned returns far more useful information.

never thought of that, it's a good tip. Thank you both!