lua-users home
lua-l archive

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

I did not use this myself yet, but you find ONE example in PiL
(Programming in Lua book of Roberto, XML parser example).

There is a similar things in Windows, the listboxes can also assign an
integer value with each list box entry - if you have a VERY large
list, this is typically very useful, as such a single integer in any
lookup / loop function is read out and handled much faster, than if
you would have to read out the complete data for every object. (e. g.
you can create a file list, and the integer value would be the file
position... like this you can quite easily program very large and
anyway fast displayed lists in Windows...).