• 7 Posts
  • 63 Comments
Joined 3 years ago
cake
Cake day: July 13th, 2023

help-circle
  • Came here exactly for this comment…

    Windev is probably one of the worst possible programming language out there, look at this !

    This is from their official documentation

    // Récupère le CA du mois en cours
    TotalCA est un monétaire = CalculCAMoisEnCours()
    
    // Si le CA dépasse l'objectif
    SI TotalCA >= 1 250 000 ALORS
      LIB_Objectif= "Objectif dépassé !"
      LIB_Objectif.Couleur= VertFoncé
    SINON
      // Si le CA n'atteint pas l'objectif minimum attendu
      SI TotalCA <= 200 000 ALORS
        LIB_Objectif= "Objectif non atteint"
        LIB_Objectif.Couleur= RougeClair
      FIN
    FIN