Deyan Ginev edited section_LaTeX_Programming_Only_if__.tex  almost 9 years ago

Commit id: 6f70cf0b8f74e7bc9c4077edf74cfcfce6be5370

deletions | additions      

       

\newcounter{a}  \newcounter{b}  \newcount\ab  %  \newtoks\allrows  \newcommand\addrow[3]{%  \begingroup\edef\container{\endgroup 

#1 & #2 & #3\noexpand\\}}\container}  \newcommand*\resetrows{\global\allrows{}}  \newcommand*\printrows{\the\allrows}  %  \resetrows  %  \setcounter{a}{4}  \loop\ifnum\thea<9  \stepcounter{a} 

\repeat}  \expandafter\global\expandafter\allrows\expandafter{\the\allrows\hline}  \repeat  %  \begin{tabular}{|rrr|}  \hline $A$ & $B$ & $A\times B$ \\ \hline  \printrows