Problem with code - SOLVED

way this code not work on HEScript? … ut’s show me error >> how to fix this?

function SaveDlgFile: String; begin Asks for filename Result := SaveFileDialog(“Save Text As”, “.txt”, “.txt”, “Text Files (.txt)|.txt|All files (.)|.”, “”); Returns blank string if user cancels the dialog. end;

Which error do you get?

the problem is solved…thanks