|
|
1.1 root 1: procedure boldface(s)
2: local c
3: static labels, trans, max
4: initial {
5: labels := "1"
6: trans := "1\b1\b1\b1\b1"
7: max := *labels
8: trans := boldface(string(&cset -- '\b'))
9: labels := string(&cset -- '\b')
10: max := *labels
11: }
12: if *s <= max then
13: return map(left(trans,9 * *s),left(labels,*s),s)
14: else return boldface(left(s,*s - max)) ||
15: map(trans,labels,right(s,max))
16: end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.