3

How can you delete a file from a directory using OpenEdge ABL (progress-4gl) code?

I cannot find any code samples that get close to exemplifying this problem. I know how to output to value(path), and to input from value(path), but how is a delete accomplished?

Tom Bascom
  • 13,405
  • 2
  • 27
  • 33
Price Jones
  • 1,948
  • 1
  • 24
  • 40

1 Answers1

10

You use the 4GL OS-DELETE statement.

OS-DELETE value( "filename" ).
Tom Bascom
  • 13,405
  • 2
  • 27
  • 33