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