idl else code example
Example 1: idl else
IF A NE 2 THEN PRINT, 'A != 2' ELSE PRINT, 'B != 3'
Example 2: idl else
ENDIF ELSE BEGIN
Example 3: idl else
PRINT, 'B = ', B
Example 4: idl else
PRINT, 'A = ', A
Example 5: idl else
IF (A EQ 2) AND (B EQ 3) THEN BEGIN