CREATE CLASS...

mod_harbour es un módulo para Apache que permite correr tus PRGs directamente en la web!!!

CREATE CLASS...

Postby Patricio Avalos Aguirre » Sun Jun 21, 2020 8:22 pm

Buenas tardes a Tod@s

como her que funcione en modharbour la creación de clases

Code: Select all  Expand view  RUN
CREATE CLASS tReporteVentas

    VAR lEmision    AS LOGICAL
    VAR dDesde      AS DATE

//-----------------------------------------------------------------------------------------------------------------------
METHOD New() CLASS tReporteVentas

    ::lEmision  := .t.
    ::dDesde    := dateAds()

return( Self )
 
//-----------------------------------------------------------------------------------------------------------------------
Saludos
Patricio

__________________________________________________________________
Version: Harbour 3.2.0dev (r1307082134),Compiler: Borland C++ 5.8.2 (32-bit)
PCode version: 0.3, FWH 13.2
http://www.sialm.cl
User avatar
Patricio Avalos Aguirre
 
Posts: 1060
Joined: Fri Oct 07, 2005 1:56 pm
Location: La Serena, Chile

Re: CREATE CLASS...

Postby Antonio Linares » Mon Jun 22, 2020 5:28 am

#include "c:\harbour\include\hbclass.ch"
#include "c:\harbour\include\hboo.ch"
regards, saludos

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


Return to mod_harbour

Who is online

Users browsing this forum: No registered users and 5 guests