restricted system commands enabled.
**scantext.tex
(./scantext.tex
> \x=macro:
->aZbZc.
l.5 \edef\x{\scantextokens{a
b
c}}\show\x
%
> \x=macro:
->a.
l.6 \edef\x{\scantextokens{a}}\show\x
%
> \x=macro:
->ab.
l.7 ...char=-1 \edef\x{\scantextokens{a
b}}\show\x
%Z
! Missing number, treated as zero.
<to be read again>
^
l.8 \catcode`\^^
M=12
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)
> \x=macro:
->abc.
l.9 \edef\x{\scantextokens{abc}}\show\x
%
! Undefined control sequence.
l.10 \catcode`\^^M
=5 %
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
> \x=macro:
->abc.
l.12 \edef\x{\scantextokens{abc}}\show\x
[0])
Output written on scantext.dvi (1 page, 132 bytes).