Joined: Oct. 2004
||Posted: Sep. 24 2005,16:17
I've been playing with Lua, FLTK, Flua, whatever....
Took me a while to realize I was using the doco from version 5 but DSL has version 4 of the product. Does someone have a link to the doco or a tutorial for version 4?
I'd like to be able to read a value from /proc/net/wireless and display it in window. That part I already have done. The problem I'm having is that I'd like to put this process in a loop that repeats every n seconds. Each iteration of the loop would update the display. The loop would stop when a button is clicked in the window.
If anyone knows a site with some looping examples I'd like to see it.
Also... Is it possible to pass a Lua program a parm from the command line?
======== Note =========
The DSL Forum Search default is 'OR'
If you search for "cat dog" you will get all "cat" posts and all "dog" posts.
If you search for "cat AND dog" you will only find results that contain BOTH "cat" and "dog"
Add '*' for wildcards, " cat* and dog* "