METHOD PROCEDURE ?

METHOD PROCEDURE ?

Postby Jimmy » Tue Jul 25, 2023 10:27 pm

hi,

in TPOSTGRE.PRG i found
METHOD PROCEDURE Destroy() CLASS TPQserver
METHOD PROCEDURE TraceOn( cFile ) CLASS TPQserver
METHOD PROCEDURE TraceOff() CLASS TPQserver

METHOD PROCEDURE SETKEY() CLASS TPQquery

these Method have no RETURN Value

Question :
what are those Method use PROCEDURE for :?:

what is the Difference of CREATE CLASS vs. only CLASS :?:
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1698
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: METHOD PROCEDURE ?

Postby Antonio Linares » Wed Jul 26, 2023 6:46 am

Dear Jimmy,

I guess those METHOD PROCEDURE use procedures instead of functions, so they don't return anything

> what is the Difference of CREATE CLASS vs. only CLASS

No difference, they are the same
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41858
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], Jimmy and 92 guests