If I take the same type of code for the month/date and year, I get compiling errors that the (darn, i forget the naming) definition(?) or something like that doesnt exist, can not be found. I know it does because the same library thats used in the original date script works fine in that sketch and is included in the new sketch. I dont understand why it cant find the info in the library??
Also, is there a tutorial about when, where, why and how to use the “{ }” syntax’s? All i have read so far is that they are unstable and even the arduino program mis interprets them from time to time.
I will get you all the exact issue when I get home from work, but, I was hoping I could be directed to look at something during my lunch break.
KeithRB:
There is nothing "unstable" about braces '{}'.
Sure about that?
Excerpt from this site "At present this feature is slightly buggy as the IDE will often find (incorrectly) a brace in text that has been "commented out."
TheTurtleKing:
It was something I just grabbed quick at work. I might have missed the end closing bracket or it could have come out of a sketch that wasn't closed any time soon. I have been through so many sketches now, I can remember what I was referring to for the example. i will have to post back when I hit that wall again with a real example.
1ArduinoFan:
Sure about that?
Excerpt from this site "At present this feature is slightly buggy as the IDE will often find (incorrectly) a brace in text that has been “commented out.”
IIRC that’s in the section about the auto-format tool. That has nothing to do with compiling code.