We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › loadStrings() not working
Page Index Toggle Pages: 1
loadStrings() not working (Read 180 times)
loadStrings() not working
Aug 18th, 2009, 10:26pm
 
I've got a strange problem.. and my bet is it's a file path thing...

I've got a text file that i've put into my sketch's data folder.
When I pass loadStrings() the full system file path it loads just fine,
but when I just pass the name of the file (data.txt), I get an error saying that the file can't be found...

I've got sketches in other places on my machine that work without the full file path. (examples from learningprocessing.com)

Any ideas?
- Loren
Page Index Toggle Pages: 1