|
From: Kevin K. <kev...@gm...> - 2025-10-20 22:57:24
|
On Mon, Oct 20, 2025 at 6:47 PM EricT <tw...@gm...> wrote:
> One thing I just discovered which will make migration slightly more
> difficult is that my suggestion of using ${(index)} will only work on a
> constant string of index. In order to update $($var) where $var also
> includes any [command] substitution, it must be changed to use [set ($var)]
> since the {}'s in the ${name} also suppress substitution.
>
I was just going to warn that substitution is indeed performed between the
() on $arrayName() (including with a vacuous arrayName), making automatic
detection of the incompatibility difficult in that case.
{=}{expression} is, of course, free of any such trouble, since it's
entirely new syntax.
--
73 de ke9tv/2, Kevin
|