V
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
V
Last edited by Ephyra; September 16th, 2020 at 03:34 PM.
How are you trying to debug the code so you can see what it is doing and correct it?Everytime I tried something, the robot walks out of the screen.
Can you post code that compiles and executes and shows the problem?
Please edit your post and wrap your code with code tags:
[code]
**YOUR CODE GOES HERE**
[/code]
to get highlighting and preserve formatting.
If you don't understand my answer, don't ignore it, ask a question.
Hi! Thank you for your reply
I hope I understood your request. Did this make the problem more clear?
Something happened to the code's formatting. It has lots its indentations. Can you post code with proper indentations?
Also make sure that ALL the code is posted so it can be copied for compiling and execution for testing.
Can you post the program's output that shows the problem?
If you don't understand my answer, don't ignore it, ask a question.
My apologies, I fixed the indentations and posted the whole code.
How exactly do I post a program's output on this forum?
Copy the text onto the clipboard and paste it here.How exactly do I post a program's output on this forum?
When I copied and tried to compile the posted code I get over 30 errors. Here are the first few:
Mondriaan.java:7: error: package nl.ru.ai.karel does not exist import static nl.ru.ai.karel.Karel.*; //???? Where is this package??? ^ Mondriaan.java:13: error: cannot find symbol speed(100); ^
If you don't understand my answer, don't ignore it, ask a question.