It seems as if I'm too stupid to make a correct "IF-statement", but I searched the whole documentation and the translated manuals in the forum, but I couldn't find one example of how to do it.
I tried this:
Code: Select all
numbers$ = ReadConfig("nums.cfg","var1")
num1$ = Right(numbers$, 2)
If num1$ = 20 Or num1$ = 25 Or num1$ = 40 Or num1$ = 50
...Do something...
Else
...do something else...
EndIf
The script always does the statements of the "Else" section, but never the "If" section, even if it's true.
Thanks for your patience and help...