[tex-k] "char" type in tex.web

Igor Liferenko igor.liferenko at gmail.com
Wed Nov 18 05:44:07 CET 2020


Hi all,

I figured it out:

tex.web was made for Pascal where "char" type is 8-bit.
It follows from the fact that "char" is the same as "text_char" (§19)
and "text_char" is 0..255 (§19).
And §521 is in "system dependencies", so everything is consistent.

Regards,
Igor

On 18/11/2020, Igor Liferenko <igor.liferenko at gmail.com> wrote:
> Hi all,
>
> In §19 there is this text:
>
> ... other Pascals consider `char' to be a 64-element ...
>
> I cannot reconcile this with §521, where
> "TEX_format_default" (which is of type "char") is assigned the
> value  "TeXformats:plain.fmt ", which consists of characters which are in
> the
> range 0..127 (notice the lowercase letters).
> This code should then fail on such Pascals.
>
> On this list there should be people who can explain this...
>
> Greetings
>
> Igor
>



More information about the tex-k mailing list.