5 messages in org.openoffice.fr.prog[prog] Paramètres par référence
FromSent OnAttachments
xavier roguiezJun 9, 2009 1:36 pm 
xavier roguiezJun 9, 2009 1:43 pm 
Pasc...@ac-grenoble.frJun 9, 2009 3:33 pm 
Pasc...@ac-grenoble.frJun 9, 2009 3:57 pm 
Bernard MarcellyJun 9, 2009 11:40 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[prog] Paramètres par référenceActions...
From:xavier roguiez (xr@geo.hmg.inpg.fr)
Date:Jun 9, 2009 1:36:44 pm
List:org.openoffice.fr.prog

Bonsoir

Je me trouve confronté à un problème dont je ne comprends les tenants et aboutissants;, est ce que quelqu'un peut m'aider ?

J'ai sorti l'ECM suivant :

option explicit sub interaction_Rect() dim Nrcc,Mrcc,epsh1,epsb1 as double Nrcc=2: Mrcc=2 print Nrcc,Mrcc 'affiche 2 2 normal EffC_Rect(Nrcc,Mrcc) print Nrcc,Mrcc 'affiche 2 2 pas normal ????????????????????? end sub

sub EffC_Rect(Nrc2 as double,Mrc2 as double) Nrc2=10: Mrc2=10 end sub

Par contre si je modifie les déclarations d'entêtes à savoir : dim Nrcc,Mrcc as double

alors le comportement redevient normal... print Nrcc,Mrcc 'affiche 2 2 normal EffC_Rect(Nrcc,Mrcc) print Nrcc,Mrcc 'affiche 10 10 normal !!!!!!!!!!!!!

Avez vous une idée ? D'avance merci xavier