Windows Standalone Will Not Save Data to File

Mark Schonewille m.schonewille at economy-x-talk.com
Fri Oct 7 20:15:54 EDT 2011


Hi Gregory,

("file://" & it) should be ("file:" & it)

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

See what you get with only a small contribution. All our LiveCode downloads are listed at http://qery.us/zr

On 8 okt 2011, at 01:47, Gregory Lypny wrote:

> Hello everyone,
> 
> I built a small utility app for my students.  It was scripted on a Mac.  It has the following handler to allow them to save their work to disk.  It works on Mac stand-alones but not Windows.  My PC-using students have shown me how it does not save.  Is the problem the two forward slashes in the argument to the URL?
> 
> 
> 	put “My File” into theFileName
> 	put “1,2,3,4,5” into theData	
> 
>      if the hilite of button "Save" of this card is true
>      then
>         ask file "Where would you like to save your data backup?" with (theFileName & "-Backup.csv")
>         if it is not empty then put theData into url ("file://" & it)	
>      end if
> 
> Regards,
> 
> 
> Gregory





More information about the Use-livecode mailing list