Hi there, was wondering where in the variables, during a controlled start I assume, can I find and increase the number of position registers from 100 to say 200
Number of position registers?
-
sw40498jd -
June 17, 2018 at 7:28 PM -
Thread is Resolved
-
-
Hello,
In controlled start, go to MENU -> NEXT(0) -> Program Setup. From there you set number for PR's, R's, User Task's etc.. -
Just for reference, if you want to know how many PR's you currently have you can use the Karel code below. The integer variable 'max_pr_num' will have the number of PR's.
GET_VAR(entry, '*POSREG*' ,'$MAXPREGNUM', max_pr_num, status)
-
Just for reference, if you want to know how many PR's you currently have you can use the Karel code below. The integer variable 'max_pr_num' will have the number of PR's.
GET_VAR(entry, '*POSREG*' ,'$MAXPREGNUM', max_pr_num, status)
I guess that would also be true for a SET_VAR?