This still doesn't work with the latest version:
-----------------------------
ksh --version
typeset -T A_t=(
integer -a arr
function f
{
(( _.arr[0] = 0 ))
(( _.arr[1] = 1 ))
print ${_.arr[*]}
}
)
A_t x
x.f
-----------------------------
Output:
version sh (AT&T Research) 93t 2008-10-09
./tst[19]: x.f: line 11: _.arr[1]: cannot be an array
However, normal assignments work:
._arr=(0 1)
or
._arr[0]=0
._arr[1]=1
Regards,
Bernd
--
Bernd Eggink
[EMAIL PROTECTED]
http://sudrala.de
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers