Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

[WD22] - Array..Class not working

$
0
0
HI,

does anyone know how to get type of class used in an array?

I have an array like this:
mylist is array of oPrdMain
myList..class --> error
according to PCSoft Help myList..Class should return me oPrdMain.

https://doc.pcsoft.fr/en-US/?2514004&name=Class#sample_code

however using the class property on the array does throw an error.

when i am adding an item to the array like this ..Class works for an item in the array
cdr is oPrdMain
mylist is array of oPrdMain
ArrayAdd(mylist,cdr)
myList[1]..Class --> oPrdMain

any idea on how to check what classes are in the array BEFORE the array gets filled?

Thanks
Sascha

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>