Every way of writing the if statement below is valid, except for the last one
Code: Select all
myFunc(){
return "yep"
}
istrue := true
;----------------------------------
if ( istrue ) alsotrue := "also true"
;----------------------------------
if ( istrue ) confirm := myFunc()
;----------------------------------
if ( istrue ) myFunc() ; <-- this gives error (Unexpected "if")