hello list
I've a little problem with fileio and GetOsDirectory.
Here is what I've done:
First I put the file "test.doc" into my system (first level). Then:
  
 set lefichier = "test.doc"
 set monobjet to new(xtra"fileio")
 getOSDirectory
 set monos=the result
 openFile(monobjet,monos & lefichier,0)
 set verif=  readFIle(monobjet)
 put verif
 closeFile(monobjet)
 set monobjet to 0

I obtain the file's content.OK.
BUT...If I put "test.doc" into the main folder of my projector (so it is
no more inside my system),
openFile(monobjet,monos & lefichier,0) finds it also. It doesn't find it
if it is on the desktop or elsewhere.
What is wrong ? Or is Fileio a good guy doing more than I asked him to
do? In that case what to do against his  glut of zeal ?
Thank you for your answers
jean-louis valero

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to