KAREL .... explain the difference

  • 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account
Sign up for a new account in our community. It's easy!
Register a new account
Sign in
Already have an account? Sign in here.
Sign in Now