Autor Beitrag
Seraph
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 163

Windows.:siXPack:.
Delphi7 Professional
BeitragVerfasst: Do 07.12.06 12:19 
Hi Leute,

Ich hätte folgendes aber wahrscheinlich eher banales Problem:

Ich habe eine Funktion geschrieben, welche ein Array returnen soll!

Geht das in Delphi überhaupt?

Hab schon ein paar Sachen probiert:
function testfunc(Text: String): Array of String

Aber er wills net fressen!

Weiß jemand weiter?

Danke, Seraph.


Moderiert von user profile iconChristian S.: Topic aus Sonstiges (Delphi) verschoben am Do 07.12.2006 um 11:22
Kroko
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1284

W98 W2k WXP
Turbo D
BeitragVerfasst: Do 07.12.06 12:26 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
type
  TMyStrArray = array of String;
function testfunc(Text: String): TMyStrArray;
begin
end;

_________________
Die F1-Taste steht nicht unter Naturschutz und darf somit regelmäßig und oft benutzt werden! oder Wer lesen kann, ist klar im Vorteil!
Seraph Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 163

Windows.:siXPack:.
Delphi7 Professional
BeitragVerfasst: Do 07.12.06 12:29 
Danke Mann, hast mir echt 'ne Menge Arbeit erspart!

Gruß, Seraph