Statement: Condition, Type: Supporting
Not Found
Format: initial-condition-statement source-support-condition Not Found dest-record
where
-
initial-condition-statement = any valid condition statement that use these identifiers listed below:
-
source-support-condition = any one the valid series of supporting condition identifiers listed below:
-
dest-record = a valid destination data record listed below that is the same type as the source-record:
Description
The Not Found identifier is used to determine if the source-support-condition value is not found within a list of values in the dest-record. The process steps to perform this task is listed below:
-
the identifier reads the source-support-condition value and dest-record value list.
-
a comparison is made to determine if the value in source-support-condition is not found within the value list from the dest-record.
-
if the condition outcome results of step 2 is true, program control will be passed to the body of the condition block.
Example
We are tracking the last 5 numbers that have appeared into a data record last 5 numbers. We want to make sure that the last 5 numbers do not contain any repeating numbers. To do that, we need to determine if the last number that has appeared is not found in the data record last 5 numbers and if so, add the last number to the tracking list. The following example will perform this task.
RX Script | Copy Code |
---|---|
Copy Last Number to Record "last number" layout if Record "last number" layout is Not Found within Record "last 5 numbers" layout begin Track last Number for 5 spins to Record "last 15 numbers" layout end |