BenNichols
Mechanical
- Dec 18, 2012
- 2
thread561-309597
I am trying to make a if-statement with 4 conditions to it, but without success. I could get one to work with 3 conditions thanks to the referenced thread.
This is what I created for the 3 conditions if-statement... if(Bottom_level==6)(Bottom_2nd_stage_6H)else(if(Bottom_level==5)(Bottom_2nd_stage_5H)else(Bottom_2nd_stage_4H))
but now for the 'Top level' I want to have a 4 condition if-statement. I tried this, but it says there is a problem.
if(Top_level==6)(Top_2nd_stage_6H)else(if(Top_level==5)(Top_2nd_stage_5H)else(if(Top_level==4)(Top_2nd_stage_4H))else(Top_2nd_stage_3H))
any ideas?
Thanks.
I am trying to make a if-statement with 4 conditions to it, but without success. I could get one to work with 3 conditions thanks to the referenced thread.
This is what I created for the 3 conditions if-statement... if(Bottom_level==6)(Bottom_2nd_stage_6H)else(if(Bottom_level==5)(Bottom_2nd_stage_5H)else(Bottom_2nd_stage_4H))
but now for the 'Top level' I want to have a 4 condition if-statement. I tried this, but it says there is a problem.
if(Top_level==6)(Top_2nd_stage_6H)else(if(Top_level==5)(Top_2nd_stage_5H)else(if(Top_level==4)(Top_2nd_stage_4H))else(Top_2nd_stage_3H))
any ideas?
Thanks.