Allowed Duplicate Tokens

Navigation:  ScriptLine Properties > Grid Options >

Allowed Duplicate Tokens

Previous pageReturn to chapter overviewNext page

Everytime a GridTemplate is loaded, Q++ analyzes its list of tokens and issues a message if it notices that some tokens are duplicated. Usually this message can be an indication that the tokens for DayValue 1 were copied and pasted to other DayValues, but that you forgot to change some of the DayValues for the other days. This is quite a common error, and this message helps you spot these errors by alerting you to duplicated tokens.


The number of occurences is displayed near each token. This is useful to spot duplicated tokens that could be allowed but are still incorrect because some tokens of a series are duplicated one more time than the others. In addition, now, if you allow a given token to be duplicated 3 times, for example, you will get a message again if the token becomes duplicated one more or one less time.


This GridOption lets you specify a list of tokens that can occur in duplicates, without triggering the message that some tokens are duplicated. This has the advantage that you only get this message for potential problems, and not for valid tokens. You can insert tokens either directly in the text field, or by bringing up the text entry dialog using the ellipsis button. In either case, make sure that the only text entered is the tokens (ie. there should be nothing before the tokens, nothing after the tokens, and nothing between the tokens.

Topic 175830 updated on 10-Dec-2004.
Topic URL: