Given an array what is the best way to return it as a list?When you return an array from a function (assuming list context) you are in fact returning a list. See tilly's definitive node Arrays are not lists for a good explanation on arrays and how they relate to lists (and vice versa).
_________
broquaint
In reply to Re: Returning lists vs arrays
by broquaint
in thread Returning lists vs arrays
by rir
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |