S Stellaferox Active Member Licensed User Apr 23, 2010 #1 Hi, I cannot succeed in building a nested IF-statement with ELSE IF's. IS the config FACT = TRUE IF <1> then ELSE IF <2> then ELSE IF <3> then FACT = TRUE END IF END IF END IF Or without the END-IF's in between? thnx Marc Last edited: Apr 23, 2010
Hi, I cannot succeed in building a nested IF-statement with ELSE IF's. IS the config FACT = TRUE IF <1> then ELSE IF <2> then ELSE IF <3> then FACT = TRUE END IF END IF END IF Or without the END-IF's in between? thnx Marc
Erel B4X founder Staff member Licensed User Longtime User Apr 23, 2010 #2 For each and only starting IF there should be one END IF: B4X: If <1> then ... Else if <2> then ... Else if <3> then ... Else ... End If
For each and only starting IF there should be one END IF: B4X: If <1> then ... Else if <2> then ... Else if <3> then ... Else ... End If