Thema: Delphi string[]-Problem

Einzelnen Beitrag anzeigen

Benutzerbild von 3_of_8
3_of_8

Registriert seit: 22. Mär 2005
Ort: Dingolfing
4.129 Beiträge
 
Turbo Delphi für Win32
 
#2

Re: string[]-Problem

  Alt 23. Feb 2006, 14:14
Probiers mal so:

Delphi-Quellcode:
var wort: string[5];
begin
  wort[1]:= 'h';
  wort[2]:= 'a';
  wort[3]:= 'l';
  wort[4]:= 'l';
  wort[5]:= 'o';
  label1.SetTextBuf(nil);
  label1.SetTextBuf(@wort[1]);
end;
Manuel Eberl
„The trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it.“
- Terry Pratchett
  Mit Zitat antworten Zitat