Do While possible?
Posted: May 19th, 2017, 4:41 am
Hi
Please excuse my ignorance. I have (so far) no clue about Lua and was wondering if this would help me make skins easier to maintain.
I just found out about rainmeter and think there will be a lot of possibilities, although I am a bit frustrated at the lack of a do while loop in the .ini files. If you want to display some data, where you don't know how many records there are (coming from a JSON), or simply with a lot of records, it's quite cumbersome to have to list all the measures and all the meters one by one.
Is it possible to create the meters and measures in Lua with a do while loop? If yes, then I will definitely start learning this to create more skins.
And does Lua have a possibility to access databases, like via ODBC?
Thanks in advance for your help.
Please excuse my ignorance. I have (so far) no clue about Lua and was wondering if this would help me make skins easier to maintain.
I just found out about rainmeter and think there will be a lot of possibilities, although I am a bit frustrated at the lack of a do while loop in the .ini files. If you want to display some data, where you don't know how many records there are (coming from a JSON), or simply with a lot of records, it's quite cumbersome to have to list all the measures and all the meters one by one.
Is it possible to create the meters and measures in Lua with a do while loop? If yes, then I will definitely start learning this to create more skins.
And does Lua have a possibility to access databases, like via ODBC?
Thanks in advance for your help.