Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
Hi,
Just found by accident that in Mathcad 11 the function Files(CWD) returns a vector of strings, where each strings holds a filename that exists on the current path (due to CWD), you can supply any valid path to the function. Note that the function name is spelled with a capital F: "Files" is defined , "files" is undefined.
The function accepts a second argument, which must be a string apparently, and has something to do with file type. Has anyone figured out how to use that second argument?
Luc
Very interesting:
Nice find Luc.
I can confirm that it doesn't work in Mathcad 15 though.
Mike
Refer to:
http://communities.ptc.com/message/165884#165884
reply # 214. for a more elaborate description of the Files() unction.
Luc
LucMeekes wrote:
Refer to:
http://communities.ptc.com/message/165884#165884
reply # 214. for a more elaborate description of the Files() unction.
Luc
Here's a starter for 10 for M12+ ...
Stuart