utils.multilistbox documentation

Posted by Fiendish on Tue 26 Jul 2011 08:17 AM — 2 posts, 7,802 views.

USA Global Moderator #0
The doc for utils.multilistbox says:

Quote:
Possible returned values would be:
nil - if no choice made or dialog cancelled
otherwise a table of chosen items (eg. { spice = true, fruit = true } )

But I get an empty table, not nil, if I click Ok with nothing selected.
Australia Forum Administrator #1
I'm going to classify that as a documentation error, as I think it is more consistent to return a table of zero items if zero items are selected.

The documentation will be amended in the next version.