iPhone PLATFORMINFO$("DOCUMENTS") destination?

Previous topic - Next topic

Dark Schneider

For save data we need to use the PLATFORMINFO$("DOCUMENTS") command, but I have the question about what folder targets that command, I mean, is it the "DOCUMENTS" iPhone folder or the "APPLICATION DOCUMENTS" folder?. Because if it is the 1st case we would need to create dirs with the App name if not we are writing always in the same location in all apps.

bigsofty

I could be wrong but I don't think you need to worry about it, the "DOCUMENTS" folder is part of your iPhone app. 'sandbox'. Each app. has its own folder and you do not have access to any others?

If you want to do a little snooping, GETCURRENTDIR$() can be interesting.
Cheers,

Ian.

"It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration."
(E. W. Dijkstra)

Dark Schneider

Quoteapp. 'sandbox'

OK, that is all I need to know, thanks.  :good: