lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


hi there! :)

u can use something like `read(root, path)` (as well as similarly
`write()` and `delete()`) that will give back either the wished result
or info about the last existing element; or a fallback mechanism that
will try to look up the same path from more than one root elements in
case of need; and its best if u make some freestanding value checker
functions. then combine these, and they are universal enough to use
them kinda much anywhere else...

all the bests! :)