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

[Solved] Error loading API: bios:366: [string "tur"]:69: function arguments expected

Started by ValorCat, 26 April 2014 - 11:48 PM
ValorCat #1
Posted 27 April 2014 - 01:48 AM
I've been spending a lot of time writing a special API for my turtles that utilizes a virtual coordinate system. Unfortunately, when I actually try to load the API, it errors:

bios:366: [string "tur"]:69: function arguments expected

The file name is "tur". Here's the pastebin link: http://pastebin.com/z22NqizR.

This was tested with CC 1.61. Also, I used theoriginalbit's ccConfig, if you need that here's a link: http://pastebin.com/iMpzmDWt

Any help is appreciated. Thanks!
Edited on 27 April 2014 - 01:15 AM
electrodude512 #2
Posted 27 April 2014 - 01:57 AM
Your conf:save doesn't have parenthesis. Try conf:save(). See that the error says line 69 and says you're missing function arguments? conf:save is on line 69 and is missing function arguments.
ValorCat #3
Posted 27 April 2014 - 03:14 AM
Hmmm, this is the second time the line numbers have been different for me… However, I see the error now, thanks electrodude.