<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.fr.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>30 Apr 2019 15:48:01 Z</lastBuildDate><pubDate>4 Sep 2007 18:49:55 Z</pubDate><description>Bonjour;&#13;
&#13;
Voila j'ai un deuxieme mystere a vous soumettre :&#13;
&#13;
==&gt; je definis la structure suivante :&#13;
STR_Param est une structure&#13;
	Lib1, Lib2 sont des chaînes&#13;
	Val1, Val2 sont des chaînes&#13;
	LibCond1, LibCond2 sont des chaînes&#13;
	Cond1, Cond2 sont des booléens	&#13;
FIN&#13;
&#13;
==&gt; puis les variables :&#13;
TempParam, DefautParam, PersoParam sont des STR_Param&#13;
&#13;
==&gt; je lis et renseigne mes données dans chacune des variables structurées :&#13;
TANTQUE HTrouve(PARAM_REQ_Production) = Vrai&#13;
&#13;
	TempParam:Lib1 = PARAM_REQ_Production.Lib_Param1&#13;
	TempParam:Lib2 = PARAM_REQ_Production.Lib_Param2&#13;
	TempParam:Val1 = PARAM_REQ_Production.Param1&#13;
	TempParam:Val2 = PARAM_REQ_Production.Param2&#13;
	TempParam:LibCond1 = PARAM_REQ_Production.Lib_Condition1&#13;
	TempParam:LibCond2 = PARAM_REQ_Production.Lib_Condition2&#13;
	TempParam:Cond1 = PARAM_REQ_Production.Condition1&#13;
	TempParam:Cond2 = PARAM_REQ_Production.Condition2&#13;
&#13;
	SI PARAM_REQ_Production.Type = "PERSO" ALORS&#13;
		PersoParam = TempParam&#13;
	SINON&#13;
		DefautParam = TempParam&#13;
	FIN&#13;
&#13;
	HLitSuivant(PARAM_REQ_Production,Requete)&#13;
FIN&#13;
&#13;
et pour finir je compare les deux variables :&#13;
SI DefautParam = PersoParam ALORS&#13;
	Info("idem")&#13;
	TempParam = DefautParam&#13;
SINON&#13;
	Info("pas idem")&#13;
	TempParam = PersoParam&#13;
	BTN_Param_Defaut..Etat = Grisé	&#13;
FIN&#13;
&#13;
MON PROBLEME : quelque soit les données memorisées dans les variables structurées, la comparaison : DefautParam = PersoParam est tjs renvoyé comme fausse.&#13;
Et ce meme si j'utilise le meme enregistrement pour renseigner les deux structures, ou meme si je renseigne les deux structures manuellement. A titre de vérification la comparaison des structures zones à zones montre pourtant que toutes les zones des deux structures sont strictement égal. Pourtant leur comparaison renvoie tjs l'etat FAUX.&#13;
&#13;
Si vous avez des suggestions ... merci d'avance et bon dev.</description><ttl>30</ttl><generator>WEBDEV</generator><language>fr_FR</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/79632-incroyables-yaka-variable-structuree/read.awp</link><title>Les Incroyables de Yaka (variable structurée)</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>Marck</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/79632-incroyables-yaka-variable-structuree-229832/read.awp</comments><pubDate>30 Apr 2019 15:48:01 Z</pubDate><description>En fait il s'agit d'un bug Windev toujours non corrigé à ce jour INCIDENT N°108682/664949&#13;
PATIENCE... ou vive la fonction Séria…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/79632-incroyables-yaka-variable-structuree-229832/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/79632-incroyables-yaka-variable-structuree-229832/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/79632-incroyables-yaka-variable-structuree/read.awp">Les Incroyables de Yaka (variable structurée)</source><title>Re: Les Incroyables de Yaka (variable structurée)</title></item><item><author>fromweb</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/79632-incroyables-yaka-variable-structure-79640/read.awp</comments><pubDate>4 Sep 2007 19:12:38 Z</pubDate><description>Bonjour...&#13;
&#13;
A mon avis (ie sans tester), le problème vient du fait que les membres&#13;
de la structure sont des chaînes...&#13;
&#13;
Or …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/79632-incroyables-yaka-variable-structure-79640/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/79632-incroyables-yaka-variable-structure-79640/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/79632-incroyables-yaka-variable-structuree/read.awp">Les Incroyables de Yaka (variable structurée)</source><title>Re: Les Incroyables de Yaka (variable structuré</title></item><item><author>no.spam</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/79632-incroyables-yaka-variable-structuree-79636/read.awp</comments><pubDate>4 Sep 2007 19:11:47 Z</pubDate><description>Yaka a présenté l'énoncé suivant :&#13;
&gt; Bonjour;&#13;
&gt;&#13;
&gt; Voila j'ai un deuxieme mystere a vous soumettre :&#13;
&gt;&#13;
&gt; ==&gt; je definis la s…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/79632-incroyables-yaka-variable-structuree-79636/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/79632-incroyables-yaka-variable-structuree-79636/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/79632-incroyables-yaka-variable-structuree/read.awp">Les Incroyables de Yaka (variable structurée)</source><title>Re: Les Incroyables de Yaka (variable structurée)</title></item></channel></rss>
