22Close24
twindruffOn the 2007-12-01 at 12:13am
Un algo du type
2 -> p
while ..
  getkey() -> k
  
  If deplacement Then
    p -> p_ancien
    If descendre
      mod(p-1, nb_choix) -> p
  
    If monter
      mod(p+1, nb_choix) -> p
   
    effacer_en(p_ancien)
    afficher_en(p)
  EndIf
EndWhile
te permettrait d'éviter les répétitions d'output, et puis ensuite tu pourrais facilement rajouter "aller tout en bas" (#diamond#+bas) etc