cc: [email protected]
Subject: Re: Re: [ast-users] Discipline function with array values
--------
> Thanks for the explanation. If it's in keeping with ksh syntax, it would be
> very useful to be able to use arrays and compound variables as transparently
> as
> the native data types are. My hope was that .sh.value would appear as an
> array
> containing all of the values.
>
> I was also hoping that this would work:
> function x.get { .sh.value=( a b c d ); }
> But $x has only element 0 set.
>
> John
>
That is becasue when I added arrays, I make x[0] and x the same
so that exising variables could be extended without breaking anything.
Perhaps $...@]} should invoke the function x.get with
.sh.value=( $...@]} )
David Korn
[email protected]
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users