I have the following code:
I would like to replace the 5 lines of code above by a "For" cycle.
However, I get an error when I try to compile the following code:
The error is:
Incorrect use of '=' operator. Assign a value to a variable using '=' and compare values for equality using '=='.
How can I define variable names/strings correctly?
I thank you in advance,