CREATE CLASS...

mod_harbour es un módulo para Apache que permite correr tus PRGs directamente en la web!!!
Post Reply
User avatar
Patricio Avalos Aguirre
Posts: 1028
Joined: Fri Oct 07, 2005 1:56 pm
Location: La Serena, Chile
Contact:

CREATE CLASS...

Post by Patricio Avalos Aguirre »

Buenas tardes a Tod@s

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

Code: Select all

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
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: CREATE CLASS...

Post by Antonio Linares »

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

Antonio Linares
www.fivetechsoft.com
Post Reply