• foudinfo@jlai.lu
    link
    fedilink
    arrow-up
    2
    ·
    8 hours ago

    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