View previous topic :: View next topic |
Author |
Message |
AntonVit Advanced Cheater Reputation: 0
Joined: 25 Jan 2014 Posts: 73
|
Posted: Mon Jul 03, 2017 9:52 am Post subject: Savedialog - Unable to create file "" |
|
|
Hi all,
Is anybody can help, with saving data to txt file?
I trying use Savedialog
Code: | function CEButton1Click(sender)
CEForm.CESavedialog1.execute()
myfile=io.open(CEForm.CESavedialog1.Filename, "w")
writeRegionToFile(myfile,"Some_Alloc",100)
end |
But CE show - Error:Unable to create file ""
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25291 Location: The netherlands
|
Posted: Mon Jul 03, 2017 10:29 am Post subject: |
|
|
Code: |
if CEForm.CESavedialog1.execute() then
writeRegionToFile(CEForm.CESavedialog1.FileName,"Some_Alloc",100)
end
|
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
AntonVit Advanced Cheater Reputation: 0
Joined: 25 Jan 2014 Posts: 73
|
Posted: Mon Jul 03, 2017 10:53 am Post subject: |
|
|
Dark Byte wrote: | Code: |
if CEForm.CESavedialog1.execute() then
writeRegionToFile(CEForm.CESavedialog1.FileName,"Some_Alloc",100)
end
|
|
Thank, work now fine.
Happy Birthday!
|
|
Back to top |
|
|
|