Merci Jean-Michel Jean-François pour ces précisions
Bon week-end
Le 09/11/2024 à 02:21, Jean-Michel COSTE a écrit :
Le 08/11/2024 à 21:48, linux a écrit :
Global ListeDesNumeroDeSemaineGC =
Array("01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29"_
,"30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","47","48","49","50","51","52","53")
Le message d'erreur : Erreur de syntaxe BASIC. Attendu : ,.
L'instruction Global n'accepte pas autre chose qu'une liste de
variables (avec éventuellement un Type) séparées par des virgules,
d'où le message.
Pas d'affectation hors d'une procédure !!!
Global Const ListeDesNumeroDeSemaineGC =
Array("01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29"_
,"30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","47","48","49","50","51","52","53")
Message d'erreur : Erreur de syntaxe BASIC.
Comme l'a dit Jean-François, une constante est forcément de type simple
De plus, une constante déclarée hors procédure est nécessairement globale
--
Envoyez un mail à users+unsubscribe@fr.libreoffice.org pour vous désinscrire
Les archives de la liste sont disponibles à https://listarchives.libreoffice.org/fr/users/
Privacy Policy: https://www.documentfoundation.org/privacy
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.