Please enable JavaScript to view this site.

 

Navigation: Messages > Design-Time Messages > DiaryGridLines

Use of [mp] token dangerous in aeiouHolidays

Scroll Prev Up Next More

One or more of the strings used in the holidays (display) property (either the surround with or the separator string) or the holidays (multiple) property (the separator ) contains a moon token, [mp].

 

Recursion between Moon and holidays tokens is not symmetrical. Holidays tokens are not allowed in Moon tokens, while Moon tokens are allowed (with a warning) in holidays tokens. This asymmetry ensures that there is no infinite recursion between Moon and Holidays tokens.

 

Although this is allowed, a warning is issued because you are now possibly combining 3 layers of recursion, and may get unexpected results.

 

Solution:

 

Edit the problem string: Automatically opens the property editor so you can correct the string that generated this message.

Another solution is to create one single recursive token combining the holidays and moon elements you want to display. This single token will be simpler to grasp.

 


Topic 015043, last updated on 21-Mar-2022