Navigation:  Appendices > Macro Language > System Variables >


Previous pageReturn to chapter overviewNext page

This system variable tells you if the current Macro token is inside a Minical Token.


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.


See also : n_ParentMinicalDate, s_ParentMinicalToken.

Topic 171870 updated on 18-Mar-2002.
Topic URL: http://www.qppstudio.net/webhelp/index.html?b_insideminical.htm