Page 1 of 1

select and collect

Posted: Fri Sep 03, 2004 7:00 pm
by 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

Posted: Fri Sep 03, 2004 8:02 pm
by Lutz
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

Posted: Tue Sep 07, 2004 1:16 pm
by eddier
Thanks!

Eddie