Better Tcl version of = command
Posted to
tcl
by cgm at Sat Nov 01 13:23:43 GMT 2025
view raw
proc
= args {
set
ex [
join
$args
]
set
exp [
regsub
-all {(::)?[[:alpha:]]([[:alnum:]_]|::)*([^[:alnum:]_(]|$)}
$ex
{$&}]
#puts $exp
uplevel
expr
$exp
}
Recent Posts
tcl by iobates
16 days ago
tcl by iobates
16 days ago
tcl by iobates
16 days ago
tcl by FLORENTIS
20 days ago
tcl by Florentis
20 days ago
tcl by schelte
25 days ago
tcl by iobates
25 days ago
tcl by cgm
26 days ago
tcl by iobates
31 days ago
tcl by FM
35 days ago
Submit
New paste
Documentation
From Jabber