03-01-2024, 02:40 PM
Can't check the code right now, typing on my phone. Something like this:
Code:
filename = savefiledialog("txt")
if filename
if instr(filename, ".txt") < 0 filename = filename + ".txt"
f = createfile(filename)
if file(f)
' write all the stuff.
...
free file f
endif
endif