I knew I should have tried more variations. I guess I always automatically associate lists with arrays and had already excluded round brackets in my mind for that reason.
Thanks for the answer, and I will try to keep in mind that lists are not the same as arrays...
As a follow up to this question though, why doesn't \(&get_string) work. I guess there must be a difference between &func and func(), but I have never come across this in my readings.
In reply to Re: Re: Working with references to scalars
by cees
in thread Working with references to scalars
by cees
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |