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: | DaiTengu |
|---|---|
| Location: | Appleton, WI |
| Users: | 1,099 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 492373:54:39 |
| Calls: | 14,106 |
| Calls today: | 2 |
| Files: | 187,124 |
| D/L today: |
1,511 files (693M bytes) |
| Messages: | 2,496,031 |