How would I go about extracting data from a table in a text file instead of using many If statements?
Right now I have a lot of If statements like so:
It's not very flexible and I'd rather add the data to a table in a text file and not hard code it into the program.
I want to be able to search the table for a string in the SKU column and store the values in a variable from the other columns in the row.
If A exists in SKU column, I want to store B and C in a variable that can be called.
SKU MODEL VERSION
A B C
X Y Z
Right now I have a lot of If statements like so:
[ autoit ]
It's not very flexible and I'd rather add the data to a table in a text file and not hard code it into the program.
I want to be able to search the table for a string in the SKU column and store the values in a variable from the other columns in the row.
If A exists in SKU column, I want to store B and C in a variable that can be called.
SKU MODEL VERSION
A B C
X Y Z