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,114 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 492514:14:51 |
| Calls: | 14,267 |
| Calls today: | 3 |
| Files: | 186,320 |
| D/L today: |
27,018 files (8,785M bytes) |
| Messages: | 2,518,464 |