Cool, thanks for your replies, all!
So a supplementary question or two spring to mind;
Browsing the code of @21echoes Cyrene script, I notice he’s using Lua’s OOP to create a class to handle UI pages.
What are the advantages to a more “pure” OOP, class-based approach over whatever it is I’m doing in my examples?
@junklight I do take your point about keeping things simple. I do like to reuse code in places where I find myself re-writing similar chunks of code multiple times in a given project, though.