diff options
Diffstat (limited to 'doc/context/sources/general/manuals/lowlevel/lowlevel-conditionals.tex')
-rw-r--r-- | doc/context/sources/general/manuals/lowlevel/lowlevel-conditionals.tex | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/context/sources/general/manuals/lowlevel/lowlevel-conditionals.tex b/doc/context/sources/general/manuals/lowlevel/lowlevel-conditionals.tex index ff23d1909..632767c14 100644 --- a/doc/context/sources/general/manuals/lowlevel/lowlevel-conditionals.tex +++ b/doc/context/sources/general/manuals/lowlevel/lowlevel-conditionals.tex @@ -1419,3 +1419,15 @@ with \type {\ifcondition} (it has bitten me already a few times). \stopsubject \stopdocument + +% \def\foo{foo=bar} +% \def\oof{foo!bar} +% \scratchtoks{=} + +% \ifhasxtoks\scratchtoks{foo!bar} YES\else NOP\fi\par +% \ifhasxtoks\scratchtoks{foo=bar} YES\else NOP\fi\par + +% \showluatokens\foo + +% \ifhastoks\scratchtoks\oof YES\else NOP\fi\par +% \ifhastoks\scratchtoks\foo YES\else NOP\fi\par |