Seemingly simple problem with If Statements and Strings
Posted: Tue Sep 03, 2013 6:27 am
Hi,
I have a loop with loops through strings. In this loop I have an if statement : if (%school="gonzaga") then...where the %school string is the index for the loop. I just noticed that the program never enters this if statement, despite the string taking the value "gonzaga." Is there something wrong with this string comparison? I've tried using @eqna to no avail.
Thanks,
BL
I have a loop with loops through strings. In this loop I have an if statement : if (%school="gonzaga") then...where the %school string is the index for the loop. I just noticed that the program never enters this if statement, despite the string taking the value "gonzaga." Is there something wrong with this string comparison? I've tried using @eqna to no avail.
Thanks,
BL