@DeleteOSFile
Syntax
@DeleteOSFile(TEXT1);
@DeleteOSFile(TEXTLIST1);
Description
Syntax 1:
Deletes the file with OSPATH OSPATH1.
Syntax 2:
Deletes the files specified in the OSPATHLIST OSPATHLIST1 are specified.
A NUMBERLIST is returned; at each corresponding position parallel to TEXT1/TEXTLIST1, 1 indicates a successful deletion and 0 indicates an unsuccessful deletion attempt.
Example: @DeleteOSFile(OSPATH1);
Ret:=@DeleteOSFile("C:\\TEST1\\TEST2.DEL");
Deletes file TEST2.DEL im directory TEST1 on drive C.
Return value (on successful deletion) Ret: 1 (NUMBERLIST with one element)
Example: @DeleteOSFile(OSPATHLIST1);
Ret:=@DeleteOSFile("C:\\TEST1\\TEST2.DEL":"C:\\TEST1\\TEST3.DEL");
Deletes files TEST2.DEL und TEST3.DEL im directory TEST1 on drive C.
Return value (on successful deletion) Ret: 1:1 (NUMBERLIST with two elements)
Note : This text was machine-translated and may contain inaccuracies.
