Frequently Asked Questions

Mar 28, 2024 - 01:11pm

 [F] Frequently Asked Questions  / Support Assistant  / What does (is)...  / ...a macro, or template, or WCTL?  / WCTL  /

Can I override the WHILE Loop Limit

Rate This FAQ
 (Not yet rated)

Created On: 7 Nov 2000 7:55 am
Last Edited: 7 Nov 2000 7:56 am

Question Printer Friendly

Web Crossing allows you to set a maximum number of iterations a WHILE loop may perform, in order to prevent infinite looping and apparent server hangs. Customers sometimes need to override this when, for example, processing folders large numbers of discussions and messages.

Answer

With version 3.1 and up, you may use the %% whileLimitReset %% in your WHILE loop to reset the internal counter.