Hi!

----

ast-ksh.2012-06-28 reports a non-existing array element [0] as shown below:
-- snip --
$ ksh -c 'typeset -T x_t=(integer i) ; compound c=(x_t -a foo) ;
typeset -p c.foo'
x_t -a c.foo=([0]='(typeset -l -i i=0)')
-- snip --

For comparisation it seems to work with an associative array:
-- snip --
$ ksh -c 'typeset -T x_t=(integer i) ; compound c=(x_t -A foo) ;
typeset -p c.foo'
x_t -A c.foo=()
-- snip --

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.ma...@nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)
_______________________________________________
ast-developers mailing list
ast-developers@research.att.com
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to