I just started learning litec. Im abit confused about how youre supposed to structuralize everything youre scripting. Im used to object orientation (java), and litec feels to me very procedural. So is it somehow possible to have functions inside the objects im creating? Are structs the only thing you can use within litec, or is there some kind of class feature aswell? Or maybe youre supposed to modularize everything in another way? How do you do it?

And btw. How does digits function work? And string? For example, if i define a PANEL*, I can use digits(..) to get some digits going there. .. how does that work exactly? I tried initializing a property of a struct thorugh a function invocation that returned a var, but that didnt work. (Kinda like MYSTRUCT* lol = { func(); }
Thx