<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>1 Nov 2017 20:09:00 Z</lastBuildDate><pubDate>19 Oct 2017 10:02:00 Z</pubDate><description>HI,&#13;
&#13;
does anyone know how to get type of class used in an array?&#13;
&#13;
I have an array like this:&#13;
mylist is array of oPrdMain&#13;
myList..class --&gt; error&#13;
according to PCSoft Help myList..Class should return me oPrdMain.&#13;
&#13;
https://doc.pcsoft.fr/en-US/?2514004&amp;name=Class#sample_code&#13;
&#13;
however using the class property on the array does throw an error.&#13;
&#13;
when i am adding an item to the array like this ..Class works for an item in the array&#13;
cdr is oPrdMain&#13;
mylist is array of oPrdMain&#13;
ArrayAdd(mylist,cdr)&#13;
myList[1]..Class --&gt; oPrdMain&#13;
&#13;
any idea on how to check what classes are in the array BEFORE the array gets filled?&#13;
&#13;
Thanks&#13;
Sascha</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62988-wd22-array-class-not-working/read.awp</link><title>[WD22] - Array..Class not working</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/62988-wd22-array-class-not-working-63186/read.awp</comments><pubDate>1 Nov 2017 20:09:00 Z</pubDate><description>HI,&#13;
&#13;
works in windev and webdev. unfortunately it´s not available on android :(&#13;
&#13;
thx&#13;
sascha</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62988-wd22-array-class-not-working-63186/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62988-wd22-array-class-not-working-63186/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62988-wd22-array-class-not-working/read.awp">[WD22] - Array..Class not working</source><title>Re: [WD22] - Array..Class not working</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62988-wd22-array-class-not-working-63181/read.awp</comments><pubDate>1 Nov 2017 13:30:00 Z</pubDate><description>Use this:&#13;
&#13;
ItemDef is Definition = ArrayInfo(Array, tiElementDefinition) IF ItemDef..Name = "oPrdMain" ... END</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62988-wd22-array-class-not-working-63181/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62988-wd22-array-class-not-working-63181/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62988-wd22-array-class-not-working/read.awp">[WD22] - Array..Class not working</source><title>Re: [WD22] - Array..Class not working</title></item><item><author>Mat33</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62988-wd22-array-class-not-working-63003/read.awp</comments><pubDate>19 Oct 2017 16:08:51 Z</pubDate><description>Or &#13;
[code:wl]&#13;
od is dynamic&#13;
&#13;
od = mylist[1] &#13;
&#13;
Trace(od..Class)&#13;
[/code]</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62988-wd22-array-class-not-working-63003/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62988-wd22-array-class-not-working-63003/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62988-wd22-array-class-not-working/read.awp">[WD22] - Array..Class not working</source><title>Re: [WD22] - Array..Class not working</title></item><item><author>Mat33</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62988-wd22-array-class-not-working-63001/read.awp</comments><pubDate>19 Oct 2017 16:01:16 Z</pubDate><description>Hi&#13;
&#13;
This may help&#13;
&#13;
[code:wl]&#13;
Trace({"mylist[1]"}..Class)&#13;
&#13;
// or&#13;
&#13;
FOR EACH obj OF mylist&#13;
	Trace(obj..Class)&#13;
	&#13;
END&#13;
[/…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62988-wd22-array-class-not-working-63001/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62988-wd22-array-class-not-working-63001/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62988-wd22-array-class-not-working/read.awp">[WD22] - Array..Class not working</source><title>Re: [WD22] - Array..Class not working</title></item></channel></rss>
