<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>20 Jan 2016 11:35:00 Z</lastBuildDate><pubDate>18 Jan 2016 07:40:00 Z</pubDate><description>What is the current status of rercusive calls in Windev (ie: a procedure calling itself). I found that in the past it was not officially supported. However in the product brochure for WD19 it states that procedures are recursive. Is this actually true now? Are there any limits or problems.&#13;
&#13;
Kind of related: what if you have 30 threads running that all call another procedure (say to write a comment to a log file). I assume each call to the procedure would get its own variable space for local variables and that simultaneous use of global variables would need to use semaphores or some other way of dealing with conflicts - does this also fail at some point?&#13;
&#13;
Also related: you have 30 threads running and the threadexecute command calls the same procedure:&#13;
&#13;
ThreadExecute("Thread1", threadNormal, SensorMonitorThreadProc,"Sensor1")&#13;
ThreadExecute("Thread2", threadNormal, SensorMonitorThreadProc,"Sensor2")&#13;
...&#13;
&#13;
Each thread is monitoring a separate external sensor.&#13;
&#13;
Is it better in any way to have a separate procedure for each monitoring thread?&#13;
&#13;
ThreadExecute("Thread1", threadNormal, SensorMonitorThreadProc1)&#13;
ThreadExecute("Thread2", threadNormal, SensorMonitorThreadProc2)&#13;
...&#13;
&#13;
or does it make any difference?</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion/read.awp</link><title>[WD20] Recursion</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/55897-wd20-recursion-55951/read.awp</comments><pubDate>20 Jan 2016 11:35:00 Z</pubDate><description>Peter,&#13;
&#13;
I'm using a i5 8Gb 64bit machine, but with 32bit WD versions.&#13;
Started the code from within the IDE with the F9 button…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion-55951/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion-55951/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion/read.awp">[WD20] Recursion</source><title>Re: [WD20] Recursion</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion-55950/read.awp</comments><pubDate>20 Jan 2016 11:25:00 Z</pubDate><description>Hi Arie,&#13;
&#13;
Interesting...&#13;
This means it really is machine dependent then...&#13;
What's your configuration? And did you run it in …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion-55950/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion-55950/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion/read.awp">[WD20] Recursion</source><title>Re: [WD20] Recursion</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion-55942/read.awp</comments><pubDate>19 Jan 2016 19:20:00 Z</pubDate><description>Peter,&#13;
&#13;
always interested in these kinds of tests&#13;
&#13;
With your code&#13;
WD19 32bit runs up to 991&#13;
WD20 32bit runs hits 1001&#13;
&#13;
:…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion-55942/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion-55942/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion/read.awp">[WD20] Recursion</source><title>Re: [WD20] Recursion</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion-55937/read.awp</comments><pubDate>19 Jan 2016 16:16:00 Z</pubDate><description>Hi,&#13;
&#13;
I did a quick test on my WD instance (WX20 32-bit / i7 / 8GB) with a factorial (recursive) algorithm and can consistently…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion-55937/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion-55937/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion/read.awp">[WD20] Recursion</source><title>Re: [WD20] Recursion</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion-55934/read.awp</comments><pubDate>19 Jan 2016 13:53:00 Z</pubDate><description>Hi again&#13;
&#13;
my advice is to NOT use recursion at all...&#13;
If your process goes deeper than the limit/you think, you crash&#13;
In the…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion-55934/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion-55934/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion/read.awp">[WD20] Recursion</source><title>Re: [WD20] Recursion</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion-55930/read.awp</comments><pubDate>19 Jan 2016 11:22:00 Z</pubDate><description>Hi Donald,&#13;
&#13;
Recursion levels are by definition highly determined by system (memory) resources and software and machine archite…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion-55930/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion-55930/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion/read.awp">[WD20] Recursion</source><title>Re: [WD20] Recursion</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion-55928/read.awp</comments><pubDate>19 Jan 2016 10:37:00 Z</pubDate><description>Would you think that the point of failure; be it 245 or 600 depends on available system resources? i.e. more parameters and the …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion-55928/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion-55928/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion/read.awp">[WD20] Recursion</source><title>Re: [WD20] Recursion</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion-55917/read.awp</comments><pubDate>18 Jan 2016 22:46:00 Z</pubDate><description>it was at more than 600 at some point...&#13;
&#13;
And it means recursion is still not supported, as a recursive procedure can be calle…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion-55917/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion-55917/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion/read.awp">[WD20] Recursion</source><title>Re: [WD20] Recursion</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion-55914/read.awp</comments><pubDate>18 Jan 2016 17:35:00 Z</pubDate><description>Fabrice&#13;
&#13;
In WD20 - 245 depth before failing. Seems reasonable to me.</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion-55914/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion-55914/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion/read.awp">[WD20] Recursion</source><title>Re: [WD20] Recursion</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion-55909/read.awp</comments><pubDate>18 Jan 2016 14:46:00 Z</pubDate><description>Hi Donald,&#13;
&#13;
For recursive calls, try to avoid. Usually one can do otherwise.&#13;
&#13;
30 threads calling a log procedure: no problem…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion-55909/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion-55909/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion/read.awp">[WD20] Recursion</source><title>Re: [WD20] Recursion</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion-55907/read.awp</comments><pubDate>18 Jan 2016 12:17:00 Z</pubDate><description>Hi Donald,&#13;
&#13;
AFAIK, recursion is still NOT supported, and the number of levels supported in the stack went down between version…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion-55907/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion-55907/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55897-wd20-recursion/read.awp">[WD20] Recursion</source><title>Re: [WD20] Recursion</title></item></channel></rss>
