Debian Codegraph @

texk/web2c/euptexdir/tests/free_ixsp.tex

raw
1 %#!eptex -ini -etex
2 %\let\dump\relax
3 %\batchmode
4 %\input plain
5 \font\cmr=cmr10\cmr
6
7 \errorstopmode
8 \catcode`@=11
9 \newcount\@tempcnta
10 \newcount\@tempcntb
11 \newcount\@tempcntc
12 \mathchardef\LIM=256
13
14 \def\MYCHAR#1{%
15 \@tempcntc=\numexpr7*#1+"101\relax
16 \@tempcnta=\@tempcntc\divide\@tempcnta 94
17 \@tempcntb=\numexpr\@tempcntc-94*\@tempcnta+1\relax
18 \ifnum\@tempcntb<0\advance\@tempcntb94 \advance\@tempcnta-1\fi
19 \advance\@tempcnta18 % 18区以降
20 \CNTA=\kuten\numexpr"100*\@tempcnta+\@tempcntb\relax
21 }
22
23 \newcount\CNT\newcount\CNTA
24 \CNT=0
25 \loop
26 \MYCHAR\CNT
27 \message{\the\CNT.}
28 \inhibitxspcode\CNTA=1\relax
29 \advance\CNT1\relax
30 \ifnum\CNT<\LIM
31 \repeat
32
33 \newcount\CNTB
34
35 \loop
36 \MYCHAR\CNTB
37 \global\inhibitxspcode\CNTA=3
38 {%
39 \CNT=0
40 \loop
41 \MYCHAR\CNT
42 \count@=\numexpr 1-\inhibitxspcode\CNTA\relax
43 \ifnum\count@=0\else\ifnum\CNTB=\CNT\else
44 \errmessage{<\the\CNTB, \the\CNT, \the\inhibitxspcode\CNTA>}\fi\fi
45 \advance\CNT1\relax
46 \ifnum\CNT<\LIM
47 \repeat
48 }
49 \MYCHAR\CNTB
50 \global\inhibitxspcode\CNTA=1\relax
51 \advance\CNTB1\relax
52 \ifnum\CNTB<\LIM
53 \repeat
54 \bye