<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>2 Dec 2015 10:42:00 Z</lastBuildDate><pubDate>2 Dec 2015 07:11:00 Z</pubDate><description>Hi&#13;
I love these new internal procedures but I have just come across some undocumented behaviour which might save someone else some time. In a nutshell don't try using RESULT in an internal procedure.&#13;
&#13;
I call a procedure from a button. This procedure returns true or false. Within that 'parent' procedure I have an internal procedure which also returns true or false. The code&#13;
RESULT InternalProcedure seems to work correctly in the debugger but the button always gets False returned to it. I then declared a variable in the 'parent' procedure, changed my code to MyVar=InternalProcedure Result MyVar with exactly the same result. The odd thing is according to the debugger MyVar gets set to the correct value but the result returned to the button is always negative. The only way I can get it to work is to forget about using RESULT in the internal proc &amp; just directly set the value of MyVar to true or false within the internal proc.&#13;
&#13;
Cheers&#13;
&#13;
David</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55239-wd20-internal-procedure-quirk/read.awp</link><title>[WD20] Internal Procedure Quirk</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55239-wd20-internal-procedure-quirk-55245/read.awp</comments><pubDate>2 Dec 2015 10:42:00 Z</pubDate><description>Quote&#13;
David Egan&#13;
&#13;
Hi&#13;
&#13;
&#13;
I love these new internal procedures but I have just come across some undocumented behaviour which …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55239-wd20-internal-procedure-quirk-55245/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55239-wd20-internal-procedure-quirk-55245/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55239-wd20-internal-procedure-quirk/read.awp">[WD20] Internal Procedure Quirk</source><title>Re: [WD20] Internal Procedure Quirk</title></item></channel></rss>
