Description: This function sets the system-wide weighting for priority values.
Returns: Numeric
Usage: Script or Steady State
Format: PriorityWeight(NumStatements)
Parameters: NumStatements { numeric } { required } { default: 10 }
A numeric value that specifies the number of priority triggered statements that will execute before a normal priority statement executes. The default value at startup is 10.
Comments: This function returns the previous priority weight if the parameter is valid, and invalid otherwise.
Example:
prevPriorWt = PriorityWeight(5);
This ensures that only 5 high priority statements execute before a normal priority statement is allowed to execute.
See Also: