Hi!

----

Below is a testcase which AFAIK should work without problems:
-- snip --
typeset -C -A mixed_array
mixed_array[5].which_object="fruit" # <--- string
mixed_array[5].fruit_name="apple" # <--- string

mixed_array[12].which_object="payment" # <--- string
float mixed_array[12].amount=2.9 # <--- floating-point variable

printf "%s\n" "${mixed_arr...@]}"
-- snip --

With ast-ksh-2009-05-05 I am getting:
-- snip --
$ ksh93
test.sh                                                                         
                 
test.sh[6]: typeset: (
        amount=2.9
        which_object=payment
): arithmetic syntax error
-- snip --
... but AFAIK this should simply print:
-- snip --
(                                                 
        typeset -l -E amount=2.9
        which_object=payment
)
(
        fruit_name=apple
        which_object=fruit
)
-- snip --

----

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