Vit Zyka wrote:
I did not test but my opinion is:
- \if*argument is set in the \do*empty
- \bTR, \eTR has optional params so they also use \do*empty
- using test \if*argument AFTER \bTR, \bTD, ... is related to the \bTR, ... number of arguments not to the \TestCmd.
your opinion is right also, make sure that the if else fi don't span arguments (unless you know what you're doing), so: \bTD \iftrue \eTD \bTD \fi \eTD kind of things are tricky for instance when \bTD .. \eTD is defined as \def\bTD#1\eTD{...} conditionals are parsed in special ways in tex the program (speed optimiziation) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------