Hi,
There are two programs:
The first one sets TimeFormat ("HH:mm:ss"); then does PlotTime=Time(Now). PlotTime is combined into a string with other elements, seperated by |, and written to a cWrite ,cASCII coded file using FileWrite .
The second program sets TimeFormat ("HH:mm:ss") too, reads the data from a cRead, cASCII coded file into a string named Contents, using FileReadToEnd ; does Words()=StrSplit(Contents,"|"). Then PlotTime=Words(5), the last element. So far so good.
The file is exchanged using FTP.
Debugging shows that the contents of PlotTime in both programs are visibly equal.
Now I do PlotTimeTicks=TimeParse(PlotTime). The result =0.
What am I doing wrong?
Harry
There are two programs:
The first one sets TimeFormat ("HH:mm:ss"); then does PlotTime=Time(Now). PlotTime is combined into a string with other elements, seperated by |, and written to a cWrite ,cASCII coded file using FileWrite .
The second program sets TimeFormat ("HH:mm:ss") too, reads the data from a cRead, cASCII coded file into a string named Contents, using FileReadToEnd ; does Words()=StrSplit(Contents,"|"). Then PlotTime=Words(5), the last element. So far so good.
The file is exchanged using FTP.
Debugging shows that the contents of PlotTime in both programs are visibly equal.
Now I do PlotTimeTicks=TimeParse(PlotTime). The result =0.
What am I doing wrong?
Harry