FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Como saber si un Method existe en la clase.
Posts: 1078
Joined: Thu Sep 27, 2007 03:47 PM
Como saber si un Method existe en la clase.
Posted: Thu May 21, 2020 02:32 AM

Saludos al Forun
Tengo 2 preguntas
1->.
Como saber si un Method existe en la clase
2->.
Como saber si un Function existe.

Saludos

Ruben Dario Gonzalez
Cali-Colombia
rubendariogd@hotmail.com - rubendariogd@gmail.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Como saber si un Method existe en la clase.
Posted: Thu May 21, 2020 05:41 AM

Dario,

  1. Puedes hacerlo usando un objeto:

FUNCTION __objHasMethod( oObject, cSymbol ) --> lSioNo

  1. Type( "NombreFuncion()" ) != "U"
regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion