FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour ClassSel
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM

ClassSel

Posted: Wed Feb 13, 2008 09:01 AM

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

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

ClassSel

Posted: Wed Feb 13, 2008 09:23 AM

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.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM

ClassSel

Posted: Wed Feb 13, 2008 10:41 AM

Antonio, thank you.
Regards,
Otto

Continue the discussion