[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ast-developers
Subject:    Re: [ast-developers] [uwin-developers] Next alpha/beta and roadmap for ksh93v?
From:       David Korn <dgk () research ! att ! com>
Date:       2013-08-27 21:34:26
Message-ID: 201308272134.r7RLYQBO022549 () terra ! research ! att ! com
[Download RAW message or body]

cc: ast-developers@research.att.com iszczesniak@gmail.com
Subject: Re: Re: [ast-developers] [uwin-developers] Next alpha/beta and roadmap  for ksh93v?
--------

> This example should IMO just work:
> function f
> {
>     nameref nv=$1
>     print "maxval=${nv.MAX}"
> }
> if (( condition1 ))
>     bool val
> else
>     integer val
> fi
> f val
> 
> Tina

It will work with the next alpha  if you code it properly:

function f
{
    nameref nv=$1
    print "maxval=$((nv.MAX))"
}
if (( condition1 ))
then    bool val
else
    integer val
fi
f val


David Korn
dgk@research.att.com
_______________________________________________
ast-developers mailing list
ast-developers@lists.research.att.com
http://lists.research.att.com/mailman/listinfo/ast-developers
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic