Getting list of filenames in a folder

Use global variable this in order to access any PApplet member:
That is, replace dataFile('') w/ this.dataFile('')

2 Likes