if n_TokenDate // integer !!!
if EvalToken(n_TokenDate, 'm') // string !!!
Note, however, that what follows the reserved word while can be a complex expression, as long as its result is boolean.
if EvalToken(nCurDate,'[m]') == '1'
sRESULT = 'January'
In the above example, the value of sRESULT is set to 'January' if the evaluation of the token [m] on that date translates into the string '1' (ie. it is in January).