Statement: Action, Type: Initial
Reset Spin Count
Format: Reset Spin Count
Description
The Reset Spin Count will set the internal variable called spin count to 0. Every time a number has appeared, the spin count variable is incremented by 1. Also, the information is displayed in the Summary Statistics window under the Other column. This action statement will reset the internal variable to 0. This is a great way of counting the # of occurrences and when to reset the count. This internal variable is independent from the global count located on the main window.
Example
We have created a system monitors the internal variable spin count. Every time more than 20 numbers appear, we reset the spin count to 0. The following example will perform this task.
RX Script | Copy Code |
---|---|
if Spin Count > 20 begin Reset Spin Count end |