Ok merci.
EDIT:
Salut, bon ben hier soir j'ai refai des petit truc dans mon programme enfin je l'ai un poile ameliorer (si on peut dire), mais j'ai un problème lol le programme se lance et ensuite il affiche le texte, jusque la tout est ok mais apres il plante et je suis obliger de redemarer le pc (meme ctrl+alt+delete marche pas)... voici mon code :
InitSprite ()
InitKeyboard ()
OpenScreen (800,600,32, "QuiZZZzzz" )
texte1$= "Bienvenue dans mon premier programme."
texte2$= "Créateur : wolfjeremy"
texte_rep$= "Votre reponse: "
texte_rep2$= "La bonne réponse était: "
texte_rep3$= "Bonne réponse !"
;-----------------------Redaction des questions et reponses
;question 1
question1$= "1) Quel est le nom corecte: "
rep1_a$= "a) PureBasique"
rep1_b$= "b) PoureBasic"
rep1_c$= "c) PureBasic"
rep1_d$= "d) PoureBasique"
;question2
question2$= "2) Qui est le createur de se quizz: "
rep2_a$= "moMo"
rep2_b$= "DOBRO"
rep2_c$= "toTo"
rep2_d$= "wolfjeremy"
Repeat
FlipBuffers ()
ClearScreen (0,0,0)
;-----------------------Ecriture dans la fenêtre
StartDrawing ( ScreenOutput ())
DrawingMode (1)
Locate (10,10)
DrawText (texte1$)
Locate (10,30)
DrawText (texte2$)
;-----------------------Question numero 1
FrontColor (255, 57, 44)
Locate (10,80)
DrawText (question1$)
FrontColor (242, 193, 50)
Locate (10,100)
DrawText (rep1_a$)
Locate (10,120)
DrawText (rep1_b$)
Locate (10,140)
DrawText (rep1_c$)
Locate (10,160)
DrawText (rep1_d$)
StopDrawing ()
ExamineKeyboard ()
;-----------------------Texte votre repopnse
rep$ = KeyboardInkey ()
StartDrawing ( ScreenOutput ())
Locate (10,180)
DrawText (texte_rep$)
DrawText (rep$)
StopDrawing ()
;-----------------------Choix du joueur
If rep$= "a" Or rep$= "b" Or rep$= "d"
StartDrawing ( ScreenOutput ())
FrontColor (255, 57, 44)
Locate (10,200)
DrawText (texte_rep2$)
StopDrawing ()
EndIf
If rep$= "c"
StartDrawing ( ScreenOutput ())
FrontColor (143, 243, 100)
Locate (10,200)
DrawText (texte_rep3$)
StopDrawing ()
EndIf
Until rep$= "a" Or rep$= "b" Or rep$= "c" Or rep$= "d"
Repeat
Until KeyboardPushed ( #PB_Key_Escape )
J'espere que vous pourez m'aider.
Merci d'avance pour votre réponse.