Hi!

----

AFAIK the following testcase should print "Ok" because the array element
"chicken" in array "addrsp" does not exist...
-- snip ---
compound -A addrsp

nameref sp=addrsp
        
sp[14]=( size=1 )
        
if [[ -v sp[19] ]] ; then
        print "should not happen"
else
        print "Ok".
fi
-- snip ---
... but ast-ksh.2009-06-22 prints "should not happen". This happens for
both indexed and associative arrays (the workaround is to replace "[[ -v
sp[19] ]]" with "[[ -v addrsp[19] ]]").

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) [email protected]
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to