Date: prev next · Thread: first prev next last
2024 Archives by date, by thread · List index


Bonsoir Jean-Luc,

les constantes sont nécessairement des types simples, donc on ne peut pas déclarer de constante tableau.

Pour ce qui est des messages d'erreur, je n'ai pas la réponse.

Amicalement,
--
Jean-Francois Nifenecker, Bordeaux


Le 08/11/2024 à 21:48, linux a écrit :

Bonjour à Toutes et Tous,

J'ai un problème pour déclarer une matrice constante comme variable globale.

Les deux premières lignes ne donne pas de message d'erreur les deux dernières  donne un message différent

  Global Const PremierSemaine="01"
  Global NumeroDeSemaineGC (0 to 52) As String

 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")

 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")

Quelqu'un a une explication;

Merci par avance de vos réponses

Cordialement

Jean-Luc

Windows 10

Version: 7.6.6.3 (X86_64) / LibreOffice Community
Build ID: d97b2716a9a4a2ce1391dee1765565ea469b0ae7
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: CL threaded




--
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.