This is more a general programming question than a specific Extra Basic question.
I have a list of maybe 200 (or more) orders.
I do a request for orders many times daily.
Now I want to execute a specific code if order is NOT qualified (which is maybe 180 of them).
(10% of orders qualify, that's why it's better to list them than to list all the other 90%)
Please just ask if I need to clarify.
I have a list of maybe 200 (or more) orders.
I do a request for orders many times daily.
Now I want to execute a specific code if order is NOT qualified (which is maybe 180 of them).
(10% of orders qualify, that's why it's better to list them than to list all the other 90%)
Code:
pseudocode
Make a list of orders which qualify
IF selected_item IS NOT (part of orders group) THEN
DO CODE
Please just ask if I need to clarify.