Endif - PDS - 2011 R1 - Reference

FrameWorks Plus Programmer's Reference

PPMProduct
PDS
PPMCategory_custom
Reference

Syntax

endif;

Usage

This command signals the termination of an active If statement.

Limitations

An If statement must have been executed, see If.

Example Syntax

  • if x_length  0;
    exit;
    endif;

  • if trans_num>= 3;
    copy_group group_num = 3,
    delta = 0,0,transz;
    endif;

  • if hole_depth = 0;
    exit;
    else;

  • assign hole_depth = hole_depth / 12;
    plc_hole
    .
    .
    .
    endif;

if hole_depth_in> slab_thick_in;

  •      assign hole_depth_in = slab_thick_in;
    assign hole_depth = hole_depth_in / 12; elseif hole_depth_in == slab_thick_in;      assign hole_depth = hole_depth_in / 12;  < elseif hole_depth_in  slab_thick_in;      assign offsetz = hole_depth_in - slab_thick_in;
    .
    .
    .
    endif;