On 11 August 2013 03:38, Roland Mainz <[email protected]> wrote:
> On Wed, Aug 7, 2013 at 3:21 PM, Glenn Fowler <[email protected]> wrote:
>> the AT&T Software Technology ast alpha 2013-08-07 source release
>> has been posted to the download site
>>         http://www.research.att.com/sw/download/alpha/
>> the package names and md5 checksums are
>>             INIT  47f2073fae4b73fe5210cc4e287556ca
>>         ast-open  e6927faa687a2af8ee94431b793c08ac
>>          ast-ksh  43b7379fdf573811c66f41ce231cbac0
>> the md5 sums should match the ones listed on the download page
> [snip]
>> 13-07-30 +An experimental change to each enumeration variable have 
>> subvariables
>>           for each enumeration constant.  ${enum.name} will expand to the
>>           numerical value of the enumeration name associatied with enum.
>
> Erm... that doesn't seem to work here:
> -- snip --
> $ ~/bin/ksh -o nounset -c 'print "${_Bool.true}"'
> /home/test001/bin/ksh: _Bool.true: parameter not set
> $ ~/bin/ksh -o nounset -c 'print "$((_Bool.true))"'
> /home/test001/bin/ksh: _Bool.true: parameter not set
> -- snip --

It works for me:
ksh -o nounset -c 'bool b ; print $((b.true))'
1


But there is still a bug left:

var.true/var.false don't work for array elements:
./arch/linux.i386-64/bin/ksh -o nounset -c 'bool -a b=( [4][5]=true )
; print $((b[4][5].true))'
./arch/linux.i386-64/bin/ksh: b[4][5].true: parameter not set
./arch/linux.i386-64/bin/ksh -o nounset -c 'bool -A b=( [lin]=true ) ;
print $((b[lin].true))'
./arch/linux.i386-64/bin/ksh: b[lin].true: parameter not set

Wendy
_______________________________________________
ast-developers mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to