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
21 hours ago
tcl by schelte
6 days ago
tcl by mookie
13 days ago
tcl by schelte
17 days ago
tcl by schelte
18 days ago
tcl by mookie
22 days ago
tcl by mookie
24 days ago
tcl by mookie
28 days ago
tcl by mookie
28 days ago
tcl by Army
31 days ago
Submit
New paste
Documentation
From Jabber