View Full Version : ELSE is missing - SF6
tuhkanen
02-07-2002, 02:26 AM
It would be nice to have ELSE-"action" with the IF-"action".
Timo
Laslie Toth
02-07-2002, 05:22 AM
Yes, Yes!!
csd214
02-07-2002, 06:05 AM
"Missing or not missing"
It should be nice to have "else"; we are waiting for the news in v6.0.0.3, but the missing else is no great restriction:
If Condition 1
Do something
Goto label Next
End If
If !(Condition 1)
Do something else
End If
Next (label)
------------------
/jfn
MarcKastner
03-11-2002, 05:34 AM
If Condition 1
Do something
Goto label Next
End If
If !(Condition 1)
Do something else
End If
Next (label)
--> It works, but it's not good using GOTOs
Its very unreadable !An ELSE statement is better.
Lorne
03-11-2002, 09:35 AM
You don't need the gotos.
if(condition)
A
end if
if(!condition)
B
end if
If "condition" is true, "B" will never be performed.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.