Einzelnen Beitrag anzeigen

Benutzerbild von Neutral General
Neutral General

Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#2

AW: Pointer verändern/verschieben

  Alt 1. Feb 2012, 16:24
Mit PChars geht das.
Ich denke mal mit Strings ist das etwas problematisch.

Delphi-Quellcode:
var str: PChar;
begin
  str := 'Hallo Welt';
  inc(str,3);
  Caption := str;
end;
Michael
"Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
  Mit Zitat antworten Zitat