IsInCurrentSpread

Navigation:  Appendices > Macro Language > Built-in Functions > All Functions (Alphabetical) >

IsInCurrentSpread

Previous pageReturn to chapter overviewNext page

bool = IsInCurrentSpread(nDate)

 

This macro function returns true if the nDate is in the same 2 page spread as the macro token being evaluated, and false otherwise.

 

Note that this function does not take into account the date of n_TokenDate. It only considers which 2 page spread the token is on, the minimum and maximum dates on those 2 pages and whether the value of nDate falls in between these 2 dates. For this function to give accurate results it may be necessary to use DayValue Marker Tokens to ensure that the minimum and maximum dates that Q++ uses are the ones you want.


Topic 151100 updated on 13-Feb-2003.
Topic URL: http://www.qppstudio.net/webhelp/index.html?isincurrentspread.htm