What does an empty DelAFiles do? - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: HP Prime (/forum-5.html) +--- Thread: What does an empty DelAFiles do? (/thread-6270.html) |
What does an empty DelAFiles do? - StephenG1CMZ - 05-18-2016 06:00 AM 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. RE: What does an empty DelAFiles do? - DrD - 05-18-2016 10:36 AM (05-18-2016 06:00 AM)StephenG1CMZ Wrote: Since AFiles("") lists all AFiles - what does an empty DelAFiles do? 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- RE: What does an empty DelAFiles do? - Tim Wessman - 05-18-2016 02:19 PM 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. RE: What does an empty DelAFiles do? - cyrille de brébisson - 05-19-2016 05:40 AM 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 |