Increment de 2 en 2

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #51670 quote
    karlito
    Participant
    Average

    Bonjour à tous bonjour Nicolas je cherche à faire un incrément dans une boucle “for” mais pas de 1 en 1, mais de 2 en 2 ?

    Merci

    #51671 quote
    Nicolas
    Keymaster
    Master

    Pourquoi ne pas faire une boucle WHILE/WEND plutôt ?

    a = 0
    while a<10 do 
     a = a + 2 //incrément de a de 2 en 2
    wend 
    
    #51674 quote
    karlito
    Participant
    Average

    oui tt a fait

    Merci Nicolas flash rep top rép

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Increment de 2 en 2


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
karlito @karlito Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by karlito
8 years, 3 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 11/06/2017
Status: Active
Attachments: No files
Logo Logo
Loading...