How to delete a file before Version 4.0

I’d like to delete a file on the local harddisc using C/AL. The command f.ERASE is not available in 3.70. Any suggestions? Thanks in advance.

The erase command works fine in version 3.7. File.ERASE(Filename)

Hi Tschopp, yes, the command is available in Version 3.70. use it like this: ERASE(Filename); Cheers Daniel

Thank you. Seems that I was a bit confused when I first tried using ERASE. Now it works fine.