if...elseif statements
mmoreland
Posts: 89
How does one construct a series of IF...THEN...ELSEIF statements that have an address to a sub routine rather than a statement following the THEN using a BS2p, as in:
IF date => 12 AND date <= 151 THEN Spr_Nox
ELSEIF date => 152 AND date <= 193 THEN Sum_Sol
ELSEIF date => 194 AND date <= 333 THEN Fal_Nox
ELSEIF date => 334 AND date <= 365 THEN Win_Sol
ELSEIF date => 1 AND date <= 11 THEN Win_Sol
ENDIF
IF date => 12 AND date <= 151 THEN Spr_Nox
ELSEIF date => 152 AND date <= 193 THEN Sum_Sol
ELSEIF date => 194 AND date <= 333 THEN Fal_Nox
ELSEIF date => 334 AND date <= 365 THEN Win_Sol
ELSEIF date => 1 AND date <= 11 THEN Win_Sol
ENDIF
Comments