From Newsgroup: comp.lang.tcl
On 13/02/2026 09:20, Mark Summerfield wrote:
But is is possible to create an _alias_ which can incorporate fixed
arguments that aren't only at the beginning?
You can, using apply:
interp alias {} adjust {} apply {{lines args} {
textutil::adjust::adjust $lines -length 60 -justify center {*}$args}
}
However, I don't see any advantage of doing this over creating a proc.
Schelte.
--- Synchronet 3.21b-Linux NewsLink 1.2