Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- \def\appleref{apple}
- \def\testit#1{%
- \ifnum\pdfstrcmp{#1}{apple}=0
- Yes, it's apple.
- \else
- No, it's #1.
- \fi
- }
- apple: \testit{apple}
- pear: \testit{pear}
- \def\fakeapple{apple}
- fakeapple: \testit{\fakeapple}
- \bye
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement