Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi Stringroutine (https://www.delphipraxis.net/94947-stringroutine.html)

Cr3at0r 28. Jun 2007 13:02


Stringroutine
 
Delphi-Quellcode:
var Text, Buffer: String;
begin
  Text := Edit1.Text;
  Edit1.Text := Insert(Copy(Text,2,4),Text,2); //<--[Fehler] verarbeitung.pas(51): E2010 Inkompatible Typen: 'string' und 'procedure, untyped pointer or untyped parameter'
end;
Jemand eine IDee was der Fehle rzu bedeuten hat?

Bernhard Geyer 28. Jun 2007 13:06

Re: Stringroutine
 
Schau dir mal an wie Insert deklariert ist. Wo soll da ein Rückgabewert herkommen?

Cr3at0r 28. Jun 2007 13:11

Re: Stringroutine
 
Ich verstehe nicht ganz wie du das meinst?!

Cr3at0r 28. Jun 2007 13:12

Re: Stringroutine
 
Args, bin irgendwie noch nicht ganz drin..., sry. habs jetzt abwer. ;) Dennoch Danke!


Alle Zeitangaben in WEZ +1. Es ist jetzt 03:10 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz