I am using conditional tests in my .cls file which has two options "final" and "draft".
I am rather familiar with conditional tests but I am just curious to know how to define the "or" in the following code.
\if@final OR \if@draft FINAL TEST \else NO TEST \fi\fi
Edit:
I have tried the following code and have gotten the desired result, so I just want to know whether I CAN use something like "\or" in \newif conditional or not. In other word, does such a command (I mean \or) exist at all?
\documentclass[draft]{article}
\makeatletter
\newif\if@final
\@finalfalse
\DeclareOption{final}{\@finaltrue}
\newif\if@draft
\@draftfalse
\DeclareOption{draft}{\@drafttrue}
\ProcessOptions
\newcommand{\mytest}{\if@final FINAL TEST \else \if@draft FINAL TEST \else NO TEST \fi\fi}
\makeatother
\begin{document}
\mytest
\end{document}

finalordraft, since your fauxifstatement doesn't show it? – Werner Dec 29 '11 at 22:24\orexists, but is not used in the context of boolean expressions like you might be used to. Instead it is used as a choice conditioning when using\ifcase. See some examples of\orin the TeX Primitive Control Sequence Reference. – Werner Dec 29 '11 at 23:56