Hi.
I have a very simple program code in KAREL
Code
1 PROGRAM test
2
3 VAR
4
5 test_path: PATH
6
7
8 BEGIN
9
10 test_path[1].node_pos = CURPOS(0, 0)
11
12 END test
Display More
The program compiles succesfully. But when running it gives the error for 10th line: VARS-024 Bad variable or register index.
Can't find the problem.