Create folder, defaultFolder and exporting text files . . .

Richard Gaskin ambassador at fourthworld.com
Wed Jun 21 16:13:49 EDT 2006


Richmond Mathewson wrote:

 > Tried this:
 >
 > create folder "TestBed"
 > set the defaultFolder to it
 >
 > (and it created a folder inside my RR folder as per documentation)
 >
 > however when I tried to export the contents of a list field to a
 > text file - the text file ended up in the RR folder rather than
 > inside "TestBed"

If you examine the value of "it", you may find it's empty.  That's what 
happens here.

Since other uses of the create command put a complete reference to the 
created object in "it", I just submitted an enhancement request for 
"create folder" to do the same:

<http://support.runrev.com/bugdatabase/show_bug.cgi?id=3700>


--
  Richard Gaskin
  Managing Editor, revJournal
  _______________________________________________________
  Rev tips, tutorials and more: http://www.revJournal.com



More information about the use-livecode mailing list