Page 1 of 1

ClassSel

Posted: Wed Feb 13, 2008 9:01 am
by Otto
could someone provide a short translation from these links
or a description of CLASSSEL()

Thanks in advance
Otto

http://fivetechsoft.com/forums/viewtopi ... t=classsel

http://fivetechsoft.com/forums/viewtopi ... t=classsel

http://fivetechsoft.com/forums/viewtopi ... t=classsel


local o := ErrorNew() // Vamos a ver las DATAs de un objeto error
local aInfo := o:ClassSel()

for n = 1 to Len( aInfo )
if Left( aInfo[ n ], 1 ) == "_"
MsgInfo( SubStr( aInfo[ n ], 2 ) )
endif
next

Posted: Wed Feb 13, 2008 9:23 am
by Antonio Linares
Otto,

It returns an array with all the names of the methods and datas of the class.

Datas are returned twice, with "_" before for assignment, and without it to retrive their values.

Posted: Wed Feb 13, 2008 10:41 am
by Otto
Antonio, thank you.
Regards,
Otto