Parameter passed to GetNthHolSetId outside of allowed range

Navigation:  Messages > Modal Messages > Generating a Diary : p-Code >

Parameter passed to GetNthHolSetId outside of allowed range

Previous pageReturn to chapter overviewNext page

Your Macro code has called the function GetNthHolSetId passing it an argument outside of the allowed range (typically [1..127]). There are usually 2 cases of this message occuring :

 

Parameter = 0 : you forgot to initialize the parameter.

 

Parameter > 127 : you forgot to put an exit condition in your FOR or WHILE loop.

 

For an example of code that loops through all the Holidays Sets of a Holidays List, see Iterating through all the Holidays Sets of a Holidays List.


Topic 108737 updated on 01-Nov-2016.
Topic URL: http://www.qppstudio.net/webhelp/index.html?parameterpassedtogetnthholseti.htm