12 messages in org.openoffice.fr.progRe: [prog] Déclaration Private
FromSent OnAttachments
PhilippeJan 20, 2005 12:31 pm 
Bernard MarcellyJan 23, 2005 7:13 am 
PhilippeJan 23, 2005 9:58 am 
Bernard MarcellyJan 23, 2005 11:44 am 
PhilippeJan 23, 2005 12:00 pm 
PhilippeJan 31, 2005 12:16 am 
Bernard MarcellyJan 31, 2005 2:10 am 
Bernard MarcellyJan 31, 2005 5:35 am 
PhilippeJan 31, 2005 10:26 am 
PhilippeJan 31, 2005 10:34 am 
Bernard MarcellyFeb 3, 2005 11:41 am 
PhilippeFeb 3, 2005 11:45 am 
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:Re: [prog] Déclaration PrivateActions...
From:Philippe (plap@nordnet.fr)
Date:Jan 23, 2005 9:58:39 am
List:org.openoffice.fr.prog

Bernard Marcelly a écrit

Voir l'issue 17948 : <http://www.openoffice.org/issues/show_bug.cgi?id=17948> Elle indique comment faire pour que Private marche. Et je n'avais pas vu ça quand j'ai écrit le chapitre 5 du bouquin ! Je n'ai pas vérifié si cela marche effectivement. Bernard

Merci pour ta réponse, J'utilise OOo1.1.4, et apparemment je viens de tester la solution proposée et elle ne marche pas ? Compatible reste marqué en vert plutôt qu'en bleu. L'option est-elle vraiment /_implémentée_/ ( le terme est-il exact ). Apparemment le bug est fixé sur la version 2 ( je suis nul en anglais (sic) ) La déclaration Private permet bien de restreindre l'utilisation d'une variable a(aux) routine(s) d'un et un seul module ? Voilà le test : Mafeuille -> Module1 : REM ***** BASIC ***** Option explicit Option Compatible Private B1 As String Sub Main B1="bonjour" Print B1 End Sub -> Module2 : REM ***** BASIC ***** Option explicit Sub Main2 print B1 End Sub

Je lance le module1 sans prob Je lance le module2 , aucun message d'erreur, il affiche une boite vide !