Posted 20 April 2013 - 08:45 AM
Each time I try to use a function in the API I made , it tells me : No such programs.
Here's my code:
os.loadAPI("exampleAPI")
– this is the file exampleAPI
– our first function
function printMessage(message)
print(message)
end
____________
And here's how I try to use my function:
exampleAPI.printMessage("anymessage")
____________
This is a code I got from the computercraft.info tutorial section.
Here's my code:
os.loadAPI("exampleAPI")
– this is the file exampleAPI
– our first function
function printMessage(message)
print(message)
end
____________
And here's how I try to use my function:
exampleAPI.printMessage("anymessage")
____________
This is a code I got from the computercraft.info tutorial section.