pure Tcl version of = command
Posted to
tcl
by cgm at Sat Nov 01 12:53:12 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 apn
4 days ago
tcl by arjen
19 days ago
tcl by cgm
28 days ago
tcl by cgm
28 days ago
tcl by alan
35 days ago
tcl by mookie
57 days ago
tcl by mookie
57 days ago
tcl by mookie
57 days ago
tcl by schelte
59 days ago
tcl by oldlaptop
71 days ago
Submit
New paste
Documentation
From Jabber