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 mookie
2 days ago
tcl by schelte
5 days ago
tcl by schelte
6 days ago
tcl by mookie
11 days ago
tcl by mookie
13 days ago
tcl by mookie
17 days ago
tcl by mookie
17 days ago
tcl by Army
19 days ago
tcl by florentis
22 days ago
tcl by Florentis
28 days ago
Submit
New paste
Documentation
From Jabber