07.10.2014 Views

Complete issue 10:1 as one pdf - TUG

Complete issue 10:1 as one pdf - TUG

Complete issue 10:1 as one pdf - TUG

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Page 18 : Changes to the Programs and Fonts 20 February 1989<br />

339. \def\\#l{)\input a\\b failed (Robert Messer, 24Apr88)<br />

Qx module 259<br />

var h : integer ; {h<strong>as</strong>h code)<br />

QY<br />

var h:integer; {h<strong>as</strong>h code)<br />

Q!d:integer; {number of characters in incomplete current string)<br />

Qz<br />

Qx module 260<br />

str-room(1) ;<br />

for k:=j to j+l-1 do append-char(bufferCk1);<br />

text (p) :=make-string;<br />

QY<br />

str-room(1); d:=cur-length;<br />

while pool-ptr>str-start [str-ptrl do<br />

begin decr(poo1-ptr); str~pool[pool~ptr+ll:=str~pool[pool~ptrl;<br />

end; {move current string up to make room for another)<br />

for k:=j to j+l-I do append-char(bufferCk1);<br />

text(p):=make-string; pool-ptr:=pool-ptr+d;<br />

Qz<br />

340. Make patterns work when trie-min=0 (Peter Breitenlohner, iOMay88)<br />

Qx module 951<br />

trie_max:=128; trie_min:=i28; trie-link(O):=i; trie-taken[O] :=false;<br />

QY<br />

trie_max:=128; trie_min:=128; trie-link(O):=i; trie-taken[OI:=false;<br />

trie-link(trie-size):=O; trie-back(O):=trie-size; {wrap around)<br />

Qz<br />

Qx module 953<br />

begin c : =trie-c [pl ; Cwe have <strong>10</strong>0 1 )<br />

if cctrie-min then trie-min:=c;<br />

z: =trie-link(trie-min-I) ; {get the first conceivably good hole)<br />

QY<br />

begin c : =trie-c [p] ;<br />

if c

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!