/************************** I2ICE TUTORIAL SCREEN #43 **************************/ menu = 1 define literally P = 'include scr.42 nolist' define literally R = 'include scr.43 nolist' define literally RTN = 'include scr.43 nolist' define literally N = 'include scr.44 nolist' define literally M = 'include scr.2 nolist' cls /*******************************************************************************/ ' ------------------------' 'Now that we have broken within the procedure | SCR43: DECIMAL_DIGIT 3 |' 'CONVERT_DECIMAL_DIGIT, we can finally read the | M = Go to main menu |' 'value of DECIMAL_DIGIT. Enter | N = Next screen |' ' DECIMAL_DIGIT | P = Previous screen |' '(Note that you do not need to use the fully quali- | Q = Quit tutorial |' 'fied reference to DECIMAL_DIGIT, because execution | R = Rewrite SCR43 |' 'broke within the variable''s defining procedure.) | SCR# = Screen desired |' ' ------------------------' 'DECIMAL_DIGIT is 31 as we suspected. How does it ' 'acquire this value? DECIMAL_DIGIT is passed the value when CONVERT_DECIMAL_' 'DIGIT is called by the procedure WRITE_DECIMAL (lines 25 and 28).' 'WRITE_DECIMAL passes a value stored in the array DIGIT_STACK to the vari-' 'able DECIMAL_DIGIT. Thus, we now need to see whether 31 is stored in one of' 'the array''s elements and passed to DECIMAL_DIGIT. In lines 24 and 25, we' 'see that the index I is used to specify the array''s subscript. Enter' ' :CMAKER.WRITE_DECIMAL.I ' ' ' 'I is 5. ' '-------------------------------------------------------------------------------'