Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
Delphi 10.2 Tokyo Professional
|
AW: Strings nur einmalig im Code verwenden - Zugriff
12. Aug 2016, 14:36
Öhm du könntest direkt Konstanten anlegen:
Delphi-Quellcode:
const
sString1 = 'String 1';
sString2 = 'String 2';
showmessage(sString1);
showmessage(sString2);
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."
|