Increment de 2 en 2

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #51670 quote
    karlitokarlito
    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
    NicolasNicolas
    Keymaster
    Legend

    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
    karlitokarlito
    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.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

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 karlitokarlito
8 years, 10 months ago.

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