Autor Beitrag
MagicTom
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 23

2000, XP Pro, 2003 Srv, 2003 SBS, Vista
D5, D7, D2005
BeitragVerfasst: Do 02.02.06 15:38 
Hi,
die erste Frage ist noch nicht ganz beantwortet, da habe ich schon die Zweite ;-)

Stellt euch vor:

ausblenden Quelltext
1:
2:
3:
4:
var arrFamily = new Array();
arrFamily [1] = "12345,Mueller";
arrFamily [2] = "15412,Schulze;45112,Schmitz;64557,Stein;42275,Strade";
usw.


Wie kann ich das am elegantesten noch Delphi konvertieren???

Danke im voraus!!!

Thomas

Moderiert von user profile iconChristian S.: Code-Tags hinzugefügt
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: Do 02.02.06 15:43 
So hier:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
var arrFamily: Array of String;
SetLength(arrFamily, NumberOfFamilies);

arrFamily [0] = '12345,Mueller';
arrFamily [1] = '15412,Schulze;45112,Schmitz;64557,Stein;42275,Strade';
//usw.

_________________
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.