Additional Functions
Saving a String to a file:
a=savestringtofile("d:\temp\myfile”,mystring)
if
a<>0 then
data.log="Could not write file (result="+inttostr(a)+")"
end
if
Loading a file into a string:
data.postdata=loadstringfromfile("D:\temp\mypostdata")