Hi,
I have a problem with my program after upgrading the cr300 os to version 11. when using version 10 the program run well, but after upgraded there were several lines of code that did not work.
please help me to solve this problem. thank you
line 197: Invalid, or out of place expression: datastring = stacode&";"&day.....
'send HTTP If TimeIntoInterval (0,HTTP_interval,Min) Then 'parsing HTTP datastring = stacode&";"&days&months&years&hours&minutes&seconds&";"&PR_meas_Totalstr&";"&Batt_voltstr&";"&PTempstr Do LoopCount1 += 1 'Increment Loop 1 counter URL = HTTP_URL&"/logger/write.php?dat="&datastring http_success = HTTPGet (URL,HTTPResponse,"",1000) If http_success >= 100 Then Exit Do EndIf Delay (0,100,mSec) Loop Until LoopCount1 = 3 LoopCount1 = 0 If http_success = 0 Then 'buat file OpenFile1 = FileOpen ("CPU:HTTP_"&days&months&years&hours&minutes&".txt","w",-1) FileWrite (OpenFile1,datastring,0) CloseStat1 = FileClose (OpenFile1) EndIf EndIf
This post is under review.