Skip to content

TempFileName ​

TempFileName returns a temporary file name including the path, to the windows temp folder.

The file name is guaranteed to be unique, no matter how many times the function is called.

There are no input parameters.

Declaration: Function TempFileName : string

Example

pascal
procedure OnMapEvent(var Value:Variant);
begin
  Value := TempFileName;
end;