writing results to a file

Hi, I wonder how to collect data based on user input during program execution. Is it possible to create some file that can be sent to other apps or stored somewhere it could be accessed? Also, would be useful if that file could be used as input data to Codea. Thanks for any hint on how to do that.

At the moment you can use saveProjectData() and readProjectData() to read and write to a file located inside your project’s directory. The file will be sent along with your project when you export it. It’s located in YourProject.codea/Data.plist in your Documents directory (you can use the iExplorer app to get access to this location on your device).

great, thanks.