Einzelnen Beitrag anzeigen

Benutzerbild von himitsu
himitsu

Registriert seit: 11. Okt 2003
Ort: Elbflorenz
43.166 Beiträge
 
Delphi 12 Athens
 
#11

AW: Zeichenkette durch Umlaut ersetzen

  Alt 3. Aug 2018, 22:00
Nein.

Und ja, Operatoren sind manchmal nett, aber intern bleibt es bei den "Funktionen".


Delphi-Quellcode:
var
  S, S2, S3, S4: string;
begin
  S := S + S2 + S3 + S4;
Code:
Unit1.pas.29: S := S + S2 + S3 + S4;
005CE65F FF75F8          push dword ptr [ebp-$08]
005CE662 FF75F4          push dword ptr [ebp-$0c]
005CE665 FF75F0          push dword ptr [ebp-$10]
005CE668 FF75EC         push dword ptr [ebp-$14]
005CE66B 8D45F8          lea eax,[ebp-$08]
005CE66E BA04000000      mov edx,$00000004
005CE673 E884C3E3FF     call @UStrCatN
Zitat von System.pas:
Delphi-Quellcode:
procedure _UStrCat(var Dest: UnicodeString; const Source: UnicodeString);
procedure _UStrCat3(var Dest: UnicodeString; const Source1, Source2: UnicodeString);
procedure _UStrCatN(var Dest: UnicodeString; ArgCnt: Integer; ...); cdecl; varargs;
Garbage Collector ... Delphianer erzeugen keinen Müll, also brauchen sie auch keinen Müllsucher.
my Delphi wish list : BugReports/FeatureRequests
  Mit Zitat antworten Zitat