This is important because the date of all tokens inside a minical token is moved to the beginning of the minical's month, but sometimes we may wish to apply formatting to some tokens inside the minical based on the minical marker token.
// get the month of the current minical
nMinicalMonth = StrToInt(StrCopy(s_ParentMinicalToken, 5, 2)) // get the XX
// do something if that is the same month as the month of the token
bRESULT = (MonthOf(n_ParentMinicalDate) == nMinicalMonth)
// send the root of the token for normal processing
sRESULT = '[' + IntToStr(n_TokenDayValue) + s_TokenRoot + ']'
In those cases, once you have verified that you are inside a minical token, you can use the s_ParentMinicalToken variable to determine the structure of the minicalendar in which the current macro token is.