SetKillCount

Takes one parameter, Value

Description:

Every Procedure starts with a Kill Count of 1000, allowing up to 1000 operations before the Procedure will exit with a Too many steps executed error. The purpose of this system is to prevent runaway MOX Procedures from hurting server's performance. If the default of 1000 is not a safe enough value for your Procedure you can use SetKillCount to increase the current number to a reasonable amount that will ensure your Procedure finishes but will kill a runaway should one occur. This is only necessary if designing Procudures with loops, which is typically not necessary and the design of MOX tries to descourage them.

Example:

SetKillCount 5000