/************************************************************************************ e2.if If statements. Should display a single output text field, with the value 3. Check program.print to ensure reprints properly. ************************************************************************************/ define i = 3; if i == 0 then path opd[ 4 ]; literal( 4, 0 ){ out opd }; { in opd }output( "i = 0", 10, 50 * 0, 16, 4 ); elif i == 1 then path opd[ 4 ]; literal( 4, 1 ){ out opd }; { in opd }output( "i = 1", 10, 50 * 1, 16, 4 ); elif i == 2 then path opd[ 4 ]; literal( 4, 2 ){ out opd }; { in opd }output( "i = 2", 10, 50 * 2, 16, 4 ); else path opd[ 4 ]; literal( 4, 3 ){ out opd }; { in opd }output( "i > 2", 10, 50 * 3, 16, 4 ); end