Reading a Text File with V5-- Robot Guitar

Is there anyway to have a V5 read text from a seperate text (.txt) file. For example I would like it to be able to pull out the 3827th character of a text file with 6500 characters.

Is there a way to do this? Do I need to copy the file into my program as and set it as a string?

(FYI: we are building a robotic guitar and the text file is autogenerated data regarding the music.)

There should be a way to do it (using a text-based program), as programs such as VexCode or PROS are basically just libraries for the ā€œbase languageā€ (C++, etc). As these languages all have file reading capacities, you should be able to do it.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.