Autorisation : Membre
Nb de messages : 1
Inscrit le : Jeu 04 Jui 2009, 21:11
Posté le : Jeu 04 Jui 2009, 21:19
Bonjour,
Comme vous pouvez le voir dans le titre j'ai un problème avec une erreur STORE
Je suis débutant en la matière donc je ne m'y connais pas du tout !
J'ai repris le programme du site Jeuxti82.free.fr
Je vous met le code.
Code
:ClrHome
:Output(4,6,"MAXIME
:Output(5,5,"PRESENTE
:For(T,0,300
:End
:ClrHome
:Output(4,6,"SLALOM
:For(T,0,300
:End
:4->A
:0->S
:Lbl 0
:ClrHome
:round(7rand+1,0)->X
:If X#1
:Output(X-1,8,"+
:If X#8
:Output(X+1,8,"+
:16->B
:Lbl 1
:Output(A,B,"=
:B-1->B
:If (K=105 or K=25) and A#1
:A-1->A
:If (K=104 or K=34) and A#8
:A+1->A
:If A=X and B=8
:S+1->S
:If A->X and B=8
:Then
:ClrHome
:Disp ""," TU AS LOUPE"," UNE PORTE!!"," SCORE:
:Output(4,8,S
:Pause
:Lbl Q
:ClrHome
:Goto Q
:End
:If B=1
:Goto 0
:Goto 1
C'est cette partie qui gène : :If A->X and B=8
Voila je vous remercie de m'aider
Autorisation : Membre
Nb de messages : 131
Inscrit le : Jeu 07 Jan 2010, 22:13
Posté le : Sam 09 Jan 2010, 23:57
c'est quoi ca:
Lbl Q
Clrhome
Goto Q
????????????????
---------------------- chuck norris peut jouer au tout dernier prince of persia sur une calto
chuck norris peut ecrire tres vite et tres bien avec une psp
Cours de programmation via le fofo ici