To create a simple Karel program using constants and variables to do some calculations.
Is there a set of standard directives needed.
Thanks in advance,
To create a simple Karel program using constants and variables to do some calculations.
Is there a set of standard directives needed.
Thanks in advance,
Didn't find what you were looking for?
New postHi Tr21,
The simplest Karel program to work with variables and constants only needs the following:
PROGRAM yourProgramName
CONST
** Declare your constants here **
VAR
** Declare your variables here **
BEGIN
** Your code goes here **
END yourProgramName
DIY-Robotics products
https://diy-robotics.com/products/
Thanks,
As I understand, without the original Karel files, one can not make changes,
What is the good practice to save these files?
Should these files be saved in same folder as TP files on robot controller?
Please sign in to leave a comment.
Comments
2 comments