...
Expand | |||||
---|---|---|---|---|---|
| |||||
In the same APP.lua file, now alter the function to be
Note: the function is now local, but we have also returned the APPadd function to create a closure - the values of Now in main, you can capture the closure returned function in your require statement , and use it as if it were APPadd. |