<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.fr.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>6 Nov 2018 15:55:58 Z</lastBuildDate><pubDate>30 Oct 2018 19:41:44 Z</pubDate><description>Bonjour,&#13;
&#13;
Je cherche à savoir s'il existe un type de variable à "affectation unique", mais pas une constante dans le pur type CONSTANT.&#13;
J'aimerais que par exemple je déclare une variable "cheminFichier" de type texte, qui j'y affecte une valeur contenue dans un fichier INI et que si dans le programme j'essaye de la modifier (erreur de programmation), soit j'ai un message d'erreur, soit la constante ne change pas.&#13;
&#13;
la déclaration de CONSTANT dans le code d'initialisation du programme ne fonctionne qu'avec des valeurs constante.&#13;
Je ne peux donc pas saisir :&#13;
[code:wl]&#13;
CONSTANT &#13;
	a = INIlit(...)&#13;
FIN&#13;
[/code]&#13;
Je suis obligé de faire &#13;
[code:wl]&#13;
CONSTANT &#13;
	a = "c:\blabla"&#13;
FIN&#13;
[/code]&#13;
&#13;
Une idée ?</description><ttl>30</ttl><generator>WEBDEV</generator><language>fr_FR</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/221574-variable-constante/read.awp</link><title>Variable "constante"</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>Ramirez22</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/221574-variable-constante-221748/read.awp</comments><pubDate>6 Nov 2018 15:55:58 Z</pubDate><description>Bonjour.&#13;
&#13;
OUCH !&#13;
Bon, je crois que j'ai compris le concept, mais va falloir que je creuse un peu pour bien l’appréhender.&#13;
Me…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/221574-variable-constante-221748/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/221574-variable-constante-221748/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/221574-variable-constante/read.awp">Variable "constante"</source><title>Re: Variable "constante"</title></item><item><author>Johjo</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/221574-variable-constante-221674/read.awp</comments><pubDate>5 Nov 2018 09:29:30 Z</pubDate><description>Bonjour,&#13;
&#13;
pourriez-vous nous expliquer quel est l'objectif de cette manipulation ? Est-ce pour permettre à l'utilisateur d'uti…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/221574-variable-constante-221674/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/221574-variable-constante-221674/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/221574-variable-constante/read.awp">Variable "constante"</source><title>Re: Variable "constante"</title></item><item><author>Ramirez22</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/221574-variable-constante-221630/read.awp</comments><pubDate>1 Nov 2018 08:18:01 Z</pubDate><description>Bonjour à vous,&#13;
&#13;
Je vais creuser dans ce sens, merci beaucoup.</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/221574-variable-constante-221630/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/221574-variable-constante-221630/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/221574-variable-constante/read.awp">Variable "constante"</source><title>Re: Variable "constante"</title></item><item><author>François C.</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/221574-variable-constante-221581/read.awp</comments><pubDate>31 Oct 2018 09:55:42 Z</pubDate><description>L'idée de dergen est bonne je pense.&#13;
&#13;
Tu peux créer une classe dans laquelle tu va regrouper toutes tes variables de ce genre.…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/221574-variable-constante-221581/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/221574-variable-constante-221581/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/221574-variable-constante/read.awp">Variable "constante"</source><title>Re: Variable "constante"</title></item><item><author>Der§en</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/221574-variable-constante-221576/read.awp</comments><pubDate>30 Oct 2018 20:39:46 Z</pubDate><description>Une classe avec un contrôle du contenu grace aux guetter et setter peut-être !&#13;
&#13;
--&#13;
———————————————————————————————————&#13;
Ce qu…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/221574-variable-constante-221576/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/221574-variable-constante-221576/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/221574-variable-constante/read.awp">Variable "constante"</source><title>Re: Variable "constante"</title></item></channel></rss>
