HP Forums

Full Version: What does an empty DelAFiles do?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Since AFiles("") lists all AFiles - what does an empty DelAFiles do?
The Help only references a single filespec,

I could try it myself - but am not in a position where I want to risk finding out right now.

I would find it useful if a list of files could be given as a parameter.
(05-18-2016 06:00 AM)StephenG1CMZ Wrote: [ -> ]Since AFiles("") lists all AFiles - what does an empty DelAFiles do?
The Help only references a single filespec,


I tried these VC command line entries:

DelAFiles(); // ==> "DelAFiles() Error: Bad Argument Value"
DelAFiles(""); // ==> "Error: Invalid input"
DelAFiles({}); // ==> {} (The empty list here suggests lists may be okay)
DelAFiles({""}); // ==> "Error: Invalid input"


(Not tried on the Android app).

-Dale-
I beleive in the android app list processing was not enabled for DelAFiles yet. When/if it gets synced up with everything else you can do DelAFiles(AFiles()) to delete user files in the app.
Hello,

Empty DelAFiles will return an error.
DelAFiles is list processing enabled, so you can give it a list, and it will delete all files in the list.

Cyrille
Reference URL's