Autor Beitrag
hitstec
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 295



BeitragVerfasst: Di 17.08.04 17:31 
Weiß jemand wie genau die Funktion SetLength funktioniert?
Ich würde gerne wissen wie genau die Funktion zum Bsp. ein bestehendes Array um weitere Arrayelemente erweitert. Wird dabei ein neues Array angelegt, der Inhalt des alten Array wiederhineinkopiert, oder wird einfach zusätzlicher Speicher fürs Array reserviert?

Die Hilfe deutet das Letztere an, aber sicher ich weiß es sicher.

:wink:


Moderiert von user profile iconKlabautermann: Topic aus Sonstiges verschoben am Di 17.08.2004 um 18:51
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: Di 17.08.04 18:16 
hier ist das recht gut beschrieben: www.delphi-source.de.../speichermanager.php

Mfg Frank

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)
hitstec Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 295



BeitragVerfasst: Di 17.08.04 22:58 
Jepp, danke!