cc: [email protected]
Subject: Re: [ast-users] enum arrays can not be initalised if dimension > 1
--------

> I have tried to use enums for reduced matrix calculations but I can't
> get the initialisation to work. Can someone help, please?
> 
> enum le_matrix=( neg null pos )
> compound container
> le_matrix -a container.m1=( [4][4][4][4][4][4][4][4]=pos )
> print -v container
> 
> I would expect that container.m1 is an eight dimensional array but the
> print -v container gives me a one dimensional array with the wrong
> value:
> (
>         le_matrix -a m1=(
>                 [4]=neg
>         )
> )
> 
> Wendy
> 

This is a bug which will be fixed in the next alpha release.

David Korn
[email protected]
_______________________________________________
ast-users mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-users

Reply via email to