General area when it fits no where else

Moderator: Mmiscool

User avatar
By perozonp
#60019 I copied and pasted the "MSG URL Usage" example and I'm getting this error:

Error at line 1: Failed to reach end of input expression, likely malformed input
Error at line 1: Syntax error
Error at line 1: Halted


the program is exactly the example:

msgbranch [mybranch]
print "set the branch"
wait

[mybranch]
myColorVar = msgget("color")
print myColorVar
let myReturnMsg = "You Entered " & myColorVar
msgreturn myReturnMsg
wait



I'm using a sonoff device with 1 meg. Is it possible that this command is included in the modules removed due to the shortage in memory? (see the download page for Alpha 3.0 branch)
User avatar
By Mmiscool
#60021 Delete the entire first line and retype it from scratch. I think you might have a bad character in there.
User avatar
By perozonp
#60022
Mmiscool wrote:Delete the entire first line and retype it from scratch. I think you might have a bad character in there.


You were very right, that solved the problem.

Thanks!!!