Variable globale et fonctions
Résolu/Fermé
LongAzBan
LongAzBan
- Messages postés
- 32
- Date d'inscription
- samedi 11 avril 2015
- Statut
- Membre
- Dernière intervention
- 10 juin 2016
LongAzBan
- Messages postés
- 32
- Date d'inscription
- samedi 11 avril 2015
- Statut
- Membre
- Dernière intervention
- 10 juin 2016
A voir également:
- Variable globale et fonctions
- Variable globale et fonctions ✓ - Forum - Python
- Problême avec variable global dans fonction ✓ - Forum - Webmaster
- Fonction qui modifie la variable globale ✓ - Forum - Python
- Problème modification variable globale au sein d'une fonction ✓ - Forum - Javascript
- Variable globale c++ - Articles
1 réponse
NHenry
27 févr. 2016 à 22:31
- Messages postés
- 14926
- Date d'inscription
- vendredi 14 mars 2003
- Statut
- Modérateur
- Dernière intervention
- 16 mai 2022
27 févr. 2016 à 22:31
oui, tu appelle ton paramètre "pv" tout en appelant une variable globale "pv";
Renomme une des 2 variables.
Renomme une des 2 variables.
27 févr. 2016 à 23:01
J'ai fait un code tel que :