In the following code I cannot figure out what to use for \SPACE and \DOT such that \peektoken is compared to a space( ) and a dot(.) is produced as output along with the result of the test T(rue) or F(alse).

```
\catcode`\.=\active
\def\dotnext{\ifx\peektoken\SPACE\DOT T\else \DOT F\fi}
\def.{\futurelet\peektoken\dotnext}
Lorem. Ipsum.  is. simply.  dummy text.
\bye

```