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

turtle.inspectSlot( [slotNum] ) missing?

Started by ProfessionalProcrastinator, 24 April 2016 - 04:23 PM
ProfessionalProcrastinator #1
Posted 24 April 2016 - 06:23 PM
When I run the program "help turtle," it includes this in the output:
[attachment=2553:Screenshot - 04242016 - 11:13:31 AM.jpg]

However, when I try to run it, I get this error:

[attachment=2554:Screenshot - 04242016 - 11:14:00 AM.jpg]

Additionally, I couldn't find any mention of this function in the CC Wiki. Does anyone know what might be causing a function that doesn't exist to show up in the help files?
valithor #2
Posted 24 April 2016 - 06:30 PM
Due to the fact the help files are hand written, it was probably just a mistake in copying the function name into the help files. Due to how the other inspect functions work I would assume the correct function would be turtle.getItemDetail. By any chance do you remember seeing that function in the help file?
KingofGamesYami #3
Posted 24 April 2016 - 06:36 PM
Reporting this as an issue on github.

I recommend using the wiki above the help docs; it contains more information.
Edited on 24 April 2016 - 04:40 PM
ProfessionalProcrastinator #4
Posted 25 April 2016 - 01:51 AM
Due to the fact the help files are hand written, it was probably just a mistake in copying the function name into the help files. Due to how the other inspect functions work I would assume the correct function would be turtle.getItemDetail. By any chance do you remember seeing that function in the help file?

Aha! Thanks! That is in the help file, but I just skimmed right over it because I wasn't looking for it.
Edited on 24 April 2016 - 11:52 PM
Bomb Bloke #5
Posted 25 April 2016 - 02:32 AM
Reporting this as an issue on github.

You might consider editing your report to reflect that you've checked the most recent version.