icase question
Posted: Mon Oct 25, 2021 4:22 pm
Do conditions used in ICASE need to have parentheses around them? It seems like they do, but I wonder if I'm just doing something wrong.
Code: Select all
lcdiplomatype=ICASE((eid_retval="G"),"General",(eid_retval="A"),"Advanced",(eid_retval="N"),"Non-Diploma","Standard") //no error
lcdiplomatype=ICASE(eid_retval="G","General",eid_retval="A","Advanced",eid_retval="N","Non-Diploma","Standard") //compiler error XS1739