Save file with my own format

hello there
I want to know how to create own file format and save the file?
know I’m using

function ExportMyFile(Path: String): String;
begin
Result := ExportAFile(Path, “Save File As”, “.”);
end;

Regards,

khalid mohmmad

Just use your own extension and that’s enough