|
From: Jan N. <jan...@gm...> - 2025-10-25 09:07:31
|
Op za 25 okt 2025 om 01:34 schreef Phillip Brooks:
> tags: trunk, main
>
> comment: TIP #465: Change Rule 8 of the Dodekalogue to Cut Some Corner Cases (user: jan.nijtmans)
>
>
> Jan, Can you confirm whether the current behavior here is correct for 9.0 - or is it a bug? If it is correct behavior, then it seems that the $(( expression )) syntax is currently guarded from being recognized as valid syntax at least in this context.
>
>
> If it is a bug, can you explain the intent of the change?
Everything you want to know about it (hopefully) can be found
here:
<https://core.tcl-lang.org/tips/doc/trunk/tip/465.md>
It - indeed - means that the $(( ... )) syntax is invalid in Tcl 9.0,
so it can safely be used for "expression substitution".
I think we should go for this syntax!
Jan Nijtmans
|