I am trying to initialize an associative array of types as follows:

typeset -T p_t=(
    integer fd
    compound events=( bool pollin=false )
)
compound c
p_t -A c.p=( [2]=( fd=0 ; events=( bool pollin=true ; bool pollout=false ) ) )
print "${c.p[2].events.pollin}"

The example should print 'true', but instead prints 'false' for
ast-ksh.2013-08-14.

Olga
-- 
      ,   _                                    _   ,
     { \/`o;====-    Olga Kryzhanovska   -====;o`\/ }
.----'-/`-/     [email protected]   \-`\-'----.
 `'-..-| /       http://twitter.com/fleyta     \ |-..-'`
      /\/\     Solaris/BSD//C/C++ programmer   /\/\
      `--`                                      `--`
_______________________________________________
ast-developers mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to