samintz
Scott Mintz
- May
- 1,590
- 27
I cannot get this compound IFF statement to work.
Implemented as 3 statements it works correctly
Code:
iff (%fPersist == 1 .and. %fDel == 1) .or. ^
("%drive2" != "" .and. %fDel == 1) .or. ^
("%drive1" == "" .and. (%fDel==1 .or. %fPersist==1)) then
goto :usage
endiff
Implemented as 3 statements it works correctly
Code:
iff %fPersist == 1 .and. %fDel == 1 then
goto :usage
endiff
iff "%drive2" != "" .and. %fDel == 1 then
goto :usage
endiff
iff "%drive1" == "" .and. (%fDel==1 .or. %fPersist==1) then
goto :usage
endiff