looking for lost .txt file

Ben Bock benbock at msn.com
Mon Jun 18 21:58:16 EDT 2007


Thanks Andre.  All the other files saved within the "Data" folder.  I don't know what the file: does to the address "file:Data/filename.txt"  does, but I'm not finding the files when I made a simplified version of the problem stack.  That is why I am worried.

Ben
  ----- Original Message ----- 
  From: Andre Garzia<mailto:andre at andregarzia.com> 
  To: How to use Revolution<mailto:use-revolution at lists.runrev.com> 
  Sent: Monday, June 18, 2007 4:44 PM
  Subject: Re: looking for lost .txt file


  Hello Ben,

  it will be relative to the defaultFolder property, if you didn't change it,
  then, I think it is just next to the standalone in windows.  You can of
  course, search for the file

  Be aware that if the Data folder do not exist in the dafualtFolder location,
  it will not be created and I think your file will not be saved.

  I am no windows user so I can't tell you the defaultFolder for windows but I
  think it should be next to the standalone, if you don't have the Data folder
  in there, then you're really in trouble because the file will not be saved.

  Always check for error condition after opening a file, you can do that with
  'the result'.

  cheers
  andre



  On 6/18/07, Ben Bock <benbock at msn.com<mailto:benbock at msn.com>> wrote:
  >
  > Hello all,
  >
  > I'm on the data analysis side of a project I made using Revolution.  It
  > was a standalone in Windows, with many quizzes as substacks.  I'm missing
  > only one of the substack's data.  Apparently I entered some incorrect
  > syntax, and it escaped attention and testing.  I've not worked in Rev since
  > finishing this project, so I need some current help.  Can anyone tell me if
  > this file "dumb mistake.txt" is saved on the computer that ran the
  > standalone, and where to find it?
  >
  > open file "file:Data/dumb mistake.txt" for append
  >
  > write CR & gSubID & tab & tFinalScore to file "file:Data/dumb mistake.txt"
  >
  > close file "file:Data/dumb mistake.txt"
  >
  >
  >
  > The script of all the other successful files was:
  >
  > open file "Data/happy days.txt" for append
  >
  > write CR & gSubID & tab & tFinal score to file "Data/happy days.txt"
  >
  > close file "Data/happy days.txt"
  >
  >
  >
  > Thanks for any help,
  >
  > Ben
  > _______________________________________________
  > use-revolution mailing list
  > use-revolution at lists.runrev.com<mailto:use-revolution at lists.runrev.com>
  > Please visit this url to subscribe, unsubscribe and manage your
  > subscription preferences:
  > http://lists.runrev.com/mailman/listinfo/use-revolution<http://lists.runrev.com/mailman/listinfo/use-revolution>
  >
  _______________________________________________
  use-revolution mailing list
  use-revolution at lists.runrev.com<mailto:use-revolution at lists.runrev.com>
  Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-revolution<http://lists.runrev.com/mailman/listinfo/use-revolution>



More information about the use-livecode mailing list