hi i have a api on a disk its in /apis and if i try to call a function of it in the same disk`s startup i get a attempt to call nil value how to fix??
api on disk
Started by makerimages, Jul 22 2012 10:05 AM
2 replies to this topic
#1
Posted 22 July 2012 - 10:05 AM
#2
Posted 22 July 2012 - 11:40 AM
You mean it is on "/disk/apis/"?
In generell you'll have to load a API before you can use it with "os.loadAPI (<PathToAPI>)". Just add that at the beginning in your script and it should work fine.
In generell you'll have to load a API before you can use it with "os.loadAPI (<PathToAPI>)". Just add that at the beginning in your script and it should work fine.
#3
Posted 22 July 2012 - 12:23 PM
its on a disk in a folder named apis
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











