Club Delphi  
    FTP   CCD     Buscar   Trucos   Trabajo   Foros

Retroceder   Foros Club Delphi > Principal > OOP
Registrarse FAQ Miembros Calendario Guía de estilo Temas de Hoy

Grupo de Teaming del ClubDelphi

 
 
Herramientas Buscar en Tema Desplegado
  #1  
Antiguo 28-10-2007
blueicaro blueicaro is offline
Miembro
 
Registrado: abr 2005
Ubicación: España
Posts: 44
Poder: 0
blueicaro Va por buen camino
Pregunta tonta sobre TStringList y liberar recursos

Hola si yo escribo lo siguiente:

Código Delphi [-]
Procedure TMiForm.MiProcedure();
Var  
  MiTStringList := TStringList; 
Begin  
  MiStringList := TStringList.Create; 
  {...}
End;

Al entrar en la rutina se crea el StringList, ¿pero cuando se sale de la rutina, se liberan los recursos?, o ¿debería colocar al final MiStringList.Free?

Saludos
/BlueIcaro

Última edición por dec fecha: 28-10-2007 a las 19:17:23.
Responder Con Cita
 



Normas de Publicación
no Puedes crear nuevos temas
no Puedes responder a temas
no Puedes adjuntar archivos
no Puedes editar tus mensajes

El código vB está habilitado
Las caritas están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Saltar a Foro

Temas Similares
Tema Autor Foro Respuestas Último mensaje
pregunta tonta sobre "property" patroclus02 OOP 6 09-10-2006 18:14:31
pregunta tonta Jordy Conexión con bases de datos 10 10-06-2005 20:37:04
Pregunta Tonta Mario1980 Varios 1 30-10-2004 16:36:14
Pregunta tonta Delphos Varios 10 20-01-2004 12:44:44
Pregunta MUY tonta sobre querys NeWsP SQL 6 18-01-2004 03:33:10


La franja horaria es GMT +2. Ahora son las 12:34:48.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi
Copyright 1996-2007 Club Delphi