Thema: Delphi Incompatible types

Einzelnen Beitrag anzeigen

Benutzerbild von uligerhardt
uligerhardt

Registriert seit: 19. Aug 2004
Ort: Hof/Saale
1.735 Beiträge
 
Delphi 2007 Professional
 
#3

AW: Incompatible types

  Alt 1. Dez 2012, 22:25
If I understand you correctly you have function Func(const AArray: TBooleans); . I'd change that to function Func(const AArray: array of Boolean); . The first one accepts only dynamic arrays, the second all Boolean arrays. See Rudy's article about open arrays.
Uli Gerhardt
  Mit Zitat antworten Zitat