Ver Mensaje Individual
  #1  
Antiguo 14-12-2005
Avatar de eliash
eliash eliash is offline
Miembro
 
Registrado: nov 2005
Ubicación: Galicia, España
Posts: 38
Reputación: 0
eliash Va por buen camino
(const Value: string) vs (Value: string)

Por qué

Código:
procedure SetText(const Value: string)
que es lo que escribe delphi por defecto (code completion la llaman) al poner una property...
y no sencillamente

Código:
procedure SetText(Value: string);
Equivale este último a ...?

Código:
procedure SetText(var Value: string);
quizás parezca una tontería, pero me tiene realmente despistado

??
Responder Con Cita