Sorry I might not of got the point over
lightsetHR[fn]
lightsetMN[fn]
lightoffHR[fn]
lightoffMN[fn]
droptemp[fn]
normtemp[fn]
StartHour[fn]
StartMin[fn]
StopHour[fn]
StopMin[fn]
alarmhigh[fn]
alarmlow[fn]
They are all WORD variables, but as all those in blue have values that are typically two digits (eg Hours will be between 00 and 23, with minutes being 00 to 59). they get saved and read OK for some reason. All those in red will be three digit values, eg 327, 150 and it's these that don't get saved. Each Word variable has 4 elements for example ,
alarmhigh[0]
alarmhigh[1]
alarmhigh[2]
alarmhigh[3]
These will have different values depending on what has been set in a previous section
eg:
alarmhigh[0]=340
alarmhigh[1]=360
alarmhigh[2]=400
alarmhigh[3]=370
Hope that helps clarify my issue
Bookmarks