rejetto forum

Put in correspondence of the filenames until build 214

Mars · 2 · 6268

0 Members and 1 Guest are viewing this topic.

Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2068
    • View Profile
Quote
  function getUploadDestinationFileName():string;
.......
  while fileExists(result) do
    begin
    inc(i);

    result:=format('%s\%s(%d)%s', [f.resource, fn, i, ext]);
    end;
  end; // getUploadDestinationFileName

Between '%s\%s and (%d)%s, a space is missing in '%s\%s(%d)%s',

exact string is '%s\%s (%d)%s'

an example follows
« Last Edit: November 13, 2008, 08:58:36 PM by mars »