J'ai ces 2 boucles pour Incrémenter et Décrémenter .
Code : Tout sélectionner
a.l:b.l
y.l:y.l
max.l = 100
;
; INCREMENTATION 1-2 // 99-100
;
For x = 1 To max - 1
For y = x+1 To max
Debug " Boucle Incrementation = "+Str(x)+" "+Str(y)
Next y
Next x
;
Debug"====================================="
Debug"====================================="
;
; DECREMENTATION_OKI 99-100 à 1-2
;
For a = max-1 To 1 Step -1
For b = max To a+1 Step-1
Debug " Boucle Décrémentation = "+Str(a)+" "+Str(b)
Next b
Next a
Code : Tout sélectionner
;
Debug " Boucle Incrementation = "+Str(x)+" "+Str(y)
Debug " Boucle Decrementation = "+Str(a)+" "+Str(b)
;
Voila, merci de toute astuce.