select and collect

Started by eddier, September 03, 2004, 12:00:47 PM

Previous topic - Next topic

eddier

Wonder if select and collect could be one function? I keep getting them confused.



If the third argument is an integer, then work like collect.

If the third argument is a list, then work like select.



Eddie

Lutz

#1
I agree, they can be collapsed, the same is already happening in other functions, i.e. 'push' and 'pop' or net-select. I will collapse both in the next version, so both do the same and can do list or integers, later then we deprecate one of them.



Lutz

eddier

#2
Thanks!



Eddie