Posted 10 February 2013 - 07:37 AM
So, I'm gonna extend some already existing API's, and add neat features such as rednet.openAll() I can't do:
and I can't do:
The first one attempts to write to a global API, which is not allowed, and the second one, of course, would wipe out rednet. Does anyone know if it is possible to extend APIs? Thanks.
function rednet.openAll()
...
end
and I can't do:
rednet = {}
rednet.openAll()
...
end
The first one attempts to write to a global API, which is not allowed, and the second one, of course, would wipe out rednet. Does anyone know if it is possible to extend APIs? Thanks.