Nothing like cracking the recommended text to see how things
work 😉
https://www.lua.org/pil/16.html
Am learning Lua on the Love interpreter:
So, essentially, we have created a class of account objects using Lua arrays:
The fact that we are using self terminology - and a colon to declare functions -
means we can add accounts easily:
No comments:
Post a Comment