Autor Beitrag
Muratxiv
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 27



BeitragVerfasst: So 15.10.06 19:21 
Hallo,
wie der Titel schon sagt habe ich ein Problem mit dem Uppercase in einer Funktion:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
function stringsplit(text: string; trennzeichen: integer): tstringlist;
var position: integer;
var wort: string;
begin

stringsplit:=TStringList.Create;
  for position:=1 to length(text) do begin
    if Ord(text[position])=trennzeichen then begin
      stringsplit.add(UpperCase(wort));
      wort:='';
      end;
    if Ord(text[position])<>trennzeichen then wort:=wort+text[position];
  end;
stringsplit.add(wort);
end;


Folgende Fehlermeldung:
Undeclared identiffer: 'UpperCase'

Mfg. Tim
Ironwulf
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 733
Erhaltene Danke: 2



BeitragVerfasst: So 15.10.06 19:26 
SysUtils einbinden
Muratxiv Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 27



BeitragVerfasst: So 15.10.06 19:31 
Danke! Es funktioniert!