What is the difference between the following two KAREL instructions? what is $MNUFRAMENUM specifying?
$MNUFRAME[#,#] and $MNUFRAME[#,$MNUFRAMENUM[#]]
What is the difference between the following two KAREL instructions? what is $MNUFRAMENUM specifying?
$MNUFRAME[#,#] and $MNUFRAME[#,$MNUFRAMENUM[#]]
$MNUFRAME store the value of the User Frames. For example $MNUFRAME[1,1] store the value of UFRAME[1] (group 1), $MNUFRAME[1,2] = UF[2] and so on ...
$MNUFRAMENUM store the value of the selected user frame. For example $MNUFRAMENUM = 3 mean UF[3] is currently selected.
$MNUFRAME[1,$MNUFRAMENUM] will store the value of the currently selected UFRAME.