But is is possible to create an _alias_ which can incorporate fixed
arguments that aren't only at the beginning?
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.
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 59 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 19:53:39 |
| Calls: | 812 |
| Calls today: | 2 |
| Files: | 1,287 |
| D/L today: |
20 files (23,248K bytes) |
| Messages: | 210,075 |