expr shorthand - substitution inline versus muted
Posted to
tcl
by FM at Mon Aug 10 18:14:21 GMT 2026
view raw
# inline substitution (returns the expr result)
%
set
x [(1+1)]
2
%
puts
$x
2
# muted substitution (returns nothing)
% [( x = 2+2; )]
%
puts
$x
4
Recent Posts
tcl by florentis
2 days ago
tcl by Florentis
7 days ago
tcl by Florentis
7 days ago
tcl by Florentis
7 days ago
tcl by Florentis
7 days ago
tcl by FLORENTIS
8 days ago
tcl by florentis
9 days ago
tcl by florentis
19 days ago
tcl by torsten
22 days ago
tcl by Florentis
26 days ago
Submit
New paste
Documentation
From Jabber