File IO on a Mac
Posted: Wed Sep 06, 2017 11:41 am
Hello,
I transferred my APL2WiN workspaces to Dyalog on the Mac. The functions should mostly run unchanged except for the file IO, since the Mac does not use the same path syntax as the PC. However, I am having trouble figuring out the correct path to read a file from the Mac Desktop to put into an array. I checked the Dyalog documentation files but there is hardly any information specific to the Mac OS. I also tried to find commands to change to a specific directory on a Mac and list the directory contents, but didn't find anything. Does anyone have information for these things or know of any Dyalog Mac OS specific documentation?
Thanks & Regards,
Lance
I transferred my APL2WiN workspaces to Dyalog on the Mac. The functions should mostly run unchanged except for the file IO, since the Mac does not use the same path syntax as the PC. However, I am having trouble figuring out the correct path to read a file from the Mac Desktop to put into an array. I checked the Dyalog documentation files but there is hardly any information specific to the Mac OS. I also tried to find commands to change to a specific directory on a Mac and list the directory contents, but didn't find anything. Does anyone have information for these things or know of any Dyalog Mac OS specific documentation?
Thanks & Regards,
Lance