szechyjs/language-arduino

Issue with long text string

Opened this issue · 1 comments

Hey There,
I've come across an issue when I'm trying to make a long text string. I'm not 100% sure what is going on.

I have the following Code:
sDataString = "{ \"SystemID\" : \"" + SYSTEMID + "\", \"Probe1\" : \"" + Probe1 + "\", \"Probe2\" : \"" + Probe2 + "\", \"Probe3\" : \"" + Probe3 + "\", \"Probe4\" : \"" + Probe4 + "\", \"Ambient1\" : \"" + Ambient1 + "\", \"Ambient2\" : \"" + Ambient2 + "\", \"Ambient3\" : \"" + Ambient3 + "\", \"Ambient4\" : \"" + Ambient4 + "\", \"MQTT_Timestamp\" : \"" + getTS("time") + "\" }";

However, the last few parts of it appear if it's still a string.
screen shot 2015-11-28 at 9 54 54 am

Do you have any ideas?

Maybe this issue is inherited from C++. Try it with C++ highlight and you'll get the same situation