Autor Beitrag
hiasl
Hält's aus hier
Beiträge: 2



BeitragVerfasst: Sa 21.07.07 21:07 
Hallo,

ich habe folgende Situation:

Seite 1 - Typdeklaration
tA = array[0..M] of Char;

Seite 2 - allokierter Speicher
a: Array[0..N] of Pointer;

wie kann ich Delphi klar machen, dass a[i] vom Typ tA ist?

Vielen Dank!
Matthias
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Sa 21.07.07 21:15 
In dem Du type PA = ^TA; definierst und auf PA(A[i])^ castest.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.