<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>23 Nov 2015 19:52:00 Z</lastBuildDate><pubDate>23 Nov 2015 15:40:00 Z</pubDate><description>Hi All&#13;
&#13;
I am wanting to loop through a structured array and delete a line based on a value in one of the fields in the structure. Is it in order to use a for each rec of the array and then use:&#13;
&#13;
ArrayDelete(myArray,CurrentElement)?&#13;
&#13;
Is this the correct approach?&#13;
&#13;
Cheers&#13;
André</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55093-deleting-elements-array/read.awp</link><title>Deleting Elements In An Array</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/55093-deleting-elements-array-55101/read.awp</comments><pubDate>23 Nov 2015 19:52:00 Z</pubDate><description>Thanks Peter - you have a good head - exactly what I was looking for.&#13;
&#13;
Cheers&#13;
André</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55093-deleting-elements-array-55101/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55093-deleting-elements-array-55101/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55093-deleting-elements-array/read.awp">Deleting Elements In An Array</source><title>Re: Deleting Elements In An Array</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55093-deleting-elements-array-55096/read.awp</comments><pubDate>23 Nov 2015 16:25:00 Z</pubDate><description>Hi André,&#13;
&#13;
Out of my head something like:&#13;
FOR EACH Element, Index OF MyArray FROMEND IF Element.MyValue = Something THEN Arra…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55093-deleting-elements-array-55096/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55093-deleting-elements-array-55096/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55093-deleting-elements-array/read.awp">Deleting Elements In An Array</source><title>Re: Deleting Elements In An Array</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55093-deleting-elements-array-55095/read.awp</comments><pubDate>23 Nov 2015 16:03:00 Z</pubDate><description>André&#13;
&#13;
According to the Help the 'CurrentElement' subscript can only be used with associative arrays so it would seem not.&#13;
&#13;
…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55093-deleting-elements-array-55095/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55093-deleting-elements-array-55095/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55093-deleting-elements-array/read.awp">Deleting Elements In An Array</source><title>Re: Deleting Elements In An Array</title></item></channel></rss>
