Pascal Scripting: GenerateUniqueName

Prototype:

function GenerateUniqueName(Path: String; const Extension: String): String;

Description:

Generates a unique filename for a file in the specified path with the specified extension.