hi,
I'm trying to compile one of the example programs found in R30ib Karel manual.
I copied the PTH_MOVE.kl example and when I compile it it gives me this error.
It looks that doesn't recognize built-in procedure?
hi,
I'm trying to compile one of the example programs found in R30ib Karel manual.
I copied the PTH_MOVE.kl example and when I compile it it gives me this error.
It looks that doesn't recognize built-in procedure?
I'm having this exact issue. Did you (or anyone else) figure it out?
I've declared all the variables, even tried replacing by numbers and I'll always get that error: Id must be defined before this use. Id: SET_REAL_REG
I haven't checked the example you're pointing, but do you have the line:
%ENVIRONMENT REGOPE
in your karel prog?
I've just checked the function itself in my program and it works without any problems.
Are you sure you're passing real value to the register (declaration)?
I've managed to make it work by copying the exact same code to another file that worked. All the %arguments and everything were the same so I really didn't understand why it started working as everything was the same. But when copying and replacing the code in another file, it worked ¯\_(ツ)_/¯