Hi,
I have to run the robot from C# via Karel by socket messaging.
the scope of the variables inside the if(n_byte>=1)condition are limited to that particular if statement. for example,I cannot access the variable tmp_str[1] when the for loop i=2 and also next_pos.x cannot be accessed outside the if(n_byte>=1)condition.The program i attached works ok, but i like to improve the code. Any suggestions welcome.
Thank you,
Rgds,
Manda