Autor Beitrag
Abu36
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 59



BeitragVerfasst: Do 17.08.06 20:00 
hi,

wie kann ich denn überprüfen, ob einer variablen gerade ein wert zugewiesen ist?
ist es auch möglich variablen auch wieder keinen wert zuzuweisen, wenn sie vorher einen hatten?
Chryzler
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1097
Erhaltene Danke: 2



BeitragVerfasst: Do 17.08.06 20:06 
Eine Variable hat IMMER einen Wert.
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Do 17.08.06 20:07 
Eine variable hat eigentlich immer einen Wert. Nur Zeiger können uninitialisiert sein, dies kannst du dann mit Assigned() prüfen.

_________________
Markus Kinzler.