This is an iterator function over value sources.
for sourceIndex, sourceName in sources() do ...
will iterate over all available value sources.
first
: the first source index. Ifnil
or omitted, the first available source is used.last
: the last soure index. Ifnil
or omitted, the last available source is used.
current Introduced in 2.6