[tex-k] How read_ln works in Pascal?
Igor Liferenko
igor.liferenko at gmail.com
Thu Mar 24 10:06:42 CET 2022
I finally got it. We just must not suppose that a field may be left blank
if we want to use the default value - NO! If instead of <return> we
type <space><return>, then everything works perfectly.
So, to sum it up, the original code is used:
term_in.f=stdin,get(term_in);
if (eoln(term_in)) read_ln(term_in);
Where read_ln is defined as
#define read_ln(file) while (!eoln(file)) get(file); get(file)
Cheers,
Igor
More information about the tex-k
mailing list.