This variable's value is false by default and can be set to true in the diary generation options dialog which appears just prior to generating a diary, as shown in the example on the right.
For example, if you are deleting a textbox on any day that is not a Sunday or a holiday, you might want to display the date in the textboxes that remain during testing, but obviously not when finally generating the diary.
if b_DEBUG
sResult = sResult + FormatDate('c', nNewTokenDate) + '&s'
else
sRESULT = sRESULT + '[' + IntToStr(nCurDayvalue) + '*2DayLine]&s'
endif
In the example above, one can generate using b_DEBUG = true to verify that the date given by nNewTokenDate is correct before generating the diary where this macro results in another macro token of macro index 2.
Topic 174445, last updated on 19-Apr-2020