Einzelnen Beitrag anzeigen

gandime
(Gast)

n/a Beiträge
 
#3

Re: array als function ergebnis?

  Alt 24. Apr 2007, 21:13
so das habe ich jetzt gemacht aber wie kann ich den wert übergeben?

Delphi-Quellcode:
type
TIntegerArray = array[0..8] of Integer;
function genug_ress(s_wovon:string):TIntegerArray;
Delphi-Quellcode:
var
  ia_temp:array[0..8] of integer;
begin
  ia_temp:=genug_ress('lala');
Zitat:
[Pascal Error] unt_werft.pas(92): E2010 Incompatible types: 'Array' and 'TIntegerArray'
was mache ich falsch?
  Mit Zitat antworten Zitat