23 Aug
2006
23 Aug
'06
10:43 p.m.
On 8/21/06, Taco Hoekwater wrote:
nico wrote:
\def\arePrimeN[#1]{% \bgroup \getparameters[Prime][p=,#1] \expandafter\processcommalist\expandafter[\Primep]\printPrime \egroup}
And an equivalent is
\processcommacommand[\Primep]\printPrime
On 8/21/06, Taco Hoekwater wrote:
Mojca Miklavec wrote:
At the beginning the main reason against it was that I didn't know how to distinguish which kind of parameters are being used in the second pair of brackets, but I guess that I can safely use \ifnumberelse as a test on the first item to distinguish between the two.
You could look up \doifassignmentelse in the sources.
Thank you, the two commands (including Hans's additional hints) solved "all" my questions (for now.) Mojca