ENDIF

Ends an IF, or ELSE group.


        ```<span style="FONT-WEIGHT: bold">ENDIF</span>```
        

Remarks

ENDIF must be the last statement within a subroutine that is preceded with an IF, or ELSE group.

Example

If 
   *In17 = *On
   Do 1 10 X
   Y = Y + 1
   Enddo
 Endif 

See Also

ELSE

IF