Registriert seit: 13. Okt 2003
Ort: Künzelsau
1.613 Beiträge
Delphi 2006 Professional
|
Re: Auf welches Array-Element zeigt der Pointer?
24. Dez 2005, 12:40
Wie wäre es mit
Delphi-Quellcode:
var
a:array of byte;
pointer:^byte;
i : Integer;
begin
randomize;
setlength(a,random(100));
i := random(length(a));
pointer:=@a[i];
Axel Sefranek A programmer started to cuss, cause getting to sleep was a fuss.
As he lay there in bed, looping round in his head
was: while(!asleep()) ++sheep;
|