I have this code:
file = CreateObject(“roReadFile”, “temp.txt”)
if type(file) = “roReadFile” then 'The file exists
print " file exists."
text = file.ReadLine()
print "content: "+text
else
print “file NOT exists.”
endif
at ‘videoplayer’ sample application.
The file is located at the root folder of the application, and also at the ‘source’ folder.
But the file object creation is failing (“file NOT exists.”).
( I currently don’t need AtEof() function )
And you might want to ask fopr the beta upgrade to 3.0 for the latest features - information found here: viewtopic.php?f=34&t=39272
to make sure stuff you build won’t break in the next release.