![]() |
|
#1
|
|||
|
|||
If...elseIf(cond1) then
stat1 stat4 elseif(cond2) then stat2 stat4 elseif(cond3) then stat3 stat4 endif Query: if cond1 satisfies,stat1 and stat4 has to execute,if cond2 satisfies,stat2 and stat4 has to execute......... i dont want to write stat4 in each and every condition.if i write stat4 out of if...else stat(i.e after endif),even any of these conditions wont satisfy,stat4 executes.... stat4 has to be execute only wen any one of the conditions satisfy....so wats the solution... |
|
#2
|
||||
|
||||
Re: If...elseCode:
__________________
Cow: You're a lawyer too? Mooseblood (mosquito): Ma'am, I was already a bloodsucking parasite. All I needed was a briefcase! |
Recent GIDBlog
First week of IA training by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The