: I find the JAL "ifthen" contruct particularly confusing. Is there : any particular reason it works the way it does? : Is there some language out there where the false condition falls inside the : ifthen block? This seems contrary to anything I've ever encountered. : Please correct me if I am misunderstanding this: Dim flag, Boolean, true : IfThen (flag, GoHere) : // runs when flag is false (I think) : MessageBox "1" : GoHere: MessageBox "2" : When flag == TRUE, above will display (message box with): 2 : When flag == FALSE, above will display (message boxes with): 1 : 2 : It seems that the only point of the label (GoHere in my example) is to : terminate the statement-block, and that block is only executed when the : ifthen condition is false. : Am I understanding this right? : Thanks. : -BR After reviewing the docs, it seems the plain "if" statement makes a lot more sense to me. I guess I can depend on that for most of my needs.
|