 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Micha Guest
|
Posted: Thu Apr 05, 2007 10:42 pm Post subject: Compilierfehler (Anfänger)^^ |
|
|
Hi,
erlich gesagt habe ich mit Java keine Erfahrung.
Meine Freundin muss für die Schule das LErnprogramm Java mit Kara benutzen.
Bei folgendem Programm kommt der Fehler:
import JavaKaraProgram;
public class GeheUmBaumHerum extends JavaKaraProgram
{
public void myProgram()
{
kara.turnLeft();
kara.move();
kara.turnRight();
kara.move();
kara.move();
kara.turnRight();
kara.move();
kara.turnLeft();
kara.removeLeaf();
kara.move();
kara.putLeaf();
kara.move();
kara.turnLeft();
kara.turnLeft();
}
}
java:1: '.' expected
Ich finde dazu nichts. Was ist falsch an dem Programm oder was sagt der
Fehler aus?
Gruss
Micha |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|