Posted 02 May 2014 - 06:05 PM
I am playing the pre-release 2 version of 1.7.2 computercraft, I have created an API that only has functions in it, nothing else. I've created a program that unloads the API and then loads it again, by looking at lua unloading an API that isn't loaded won't give an error, so I just unload my API just incase, before loading it for the program. Then the program calls a function, I'm using this test program to test wether my API has any malfunctions. The test program recieves an error, attempt to call nil on the line that calls the function. If I run the API using shell.run, it does work! But it works incorrectly.
How can I properly load my API, what am I doing wrong? If this is a bug of the pre-release 2 version I'll post it on the beta testing forums in the bug report section. But I'm not sure, and I don't believe it's a bug as the beta versions don't really change much of the actual lua content.
Regards
Augustas
How can I properly load my API, what am I doing wrong? If this is a bug of the pre-release 2 version I'll post it on the beta testing forums in the bug report section. But I'm not sure, and I don't believe it's a bug as the beta versions don't really change much of the actual lua content.
Regards
Augustas