Ver Mensaje Individual
  #3 (permalink)  
Antiguo 29/01/2002, 06:16
martindebustos
 
Fecha de Ingreso: enero-2002
Mensajes: 20
Antigüedad: 23 años, 1 mes
Puntos: 0
Re: Objetos como parametros

Este es el objeto (esta en una biblioteca) y su instanciacion.
<!--#include file="Curso.asp"-->
....
dim objeto
...
set objeto= new curso
....

'Esta es el objeto
dim varCUC
dim varCUEC

class curso
'--------------------------------------
Public Property Let CUC (Valor)
varCUC = CInt(Valor)
end Property

Public Property Get CUC
CUC= varCUC
end Property

'--------------------------------------
Public Property Let CUEC (Valor)
varCUEC = CInt(Valor)
end Property

Public Property Get CUEC
CUEC=varCUEC
end Property

end class

Saludos