Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
I have written an audio synth and would like to be able to save patches. I can successfully store all my variables to a predefined filename and recall from that filename but i would also like to be able to store and recall several patches under different filenames. As part of this I need to list the files stored on an SD card. A bit of searching turned up this post http://mbed.org/forum/helloworld/topic/1516/?page=1#comment-7511 and with a little bit of adjustment I can display all files with a .sav extension (my patch files).
The problem now is that I can't figure out how to store the filename strings returned. Am I right in thinking that strings are not supported? I tried the following code: -
But the compiler returns the error: -
Quote:
"Identifier "string" is undefined (E20) <a href="#" onClick="window.open('/cookbook/Compiler-Error-20');">(more info)</a>" in file "/main.cpp"
Any ideas if this is achievable?
James