Hi,
Du gibst erst mal in deiner Funktion nichts zurück. Das solltest du machen, sonst kannst du auch proceduren benutzen.
Delphi-Quellcode:
procedure split_filename(var s_filename,s_dir,s_name: String);
begin
s_dir:='aaa';
s_name:='bbb';
end;
So würde es klappen.
Gruß
Neutral General
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."