joecheech Posted November 6, 2019 Share Posted November 6, 2019 What's the purpose of the "# comment" field in the programing window? Quote Link to comment Share on other sites More sharing options...
msgreenf Posted November 6, 2019 Share Posted November 6, 2019 Add write comments and insert into the code Quote Link to comment Share on other sites More sharing options...
joecheech Posted November 6, 2019 Author Share Posted November 6, 2019 13 minutes ago, msgreenf said: Add write comments and insert into the code Thanks Mitch, you're a mensch!. Boy, I'm so out of my element on this stuff. Can someone suggest a reference I can use to get smarter on inserting code? My programming background is I used to wheel the projector down the hallway in grammar school. Mike_S101 1 Quote Link to comment Share on other sites More sharing options...
Cyknight Posted November 6, 2019 Share Posted November 6, 2019 In other words, insert information in the code that isn't read by the system as code, but can clarify the code function WHEN scehdule night lights occurs IF variable is true Activate advanced lighting scene outdoor on #above code's function is to give user the ability to override the scheduled programming joecheech and Mike_S101 1 1 Quote Link to comment Share on other sites More sharing options...
rayk32 Posted November 6, 2019 Share Posted November 6, 2019 Programmers make comments in the code they write for all kinds of reasons, but mainly they make descriptive points of reference in the thousands to millions of lines code that make up an application. It makes it easier to find a segment of code for them or other programmers who come behind them to fix, modify or reuse code. Mike_S101 and joecheech 1 1 Quote Link to comment Share on other sites More sharing options...
RyanE Posted November 6, 2019 Share Posted November 6, 2019 Dealers (and ComposerHE users) had been using a system variable, called COMMENT, and had just been setting it to a string value in the code for comments for years. It isn't required for any functionality, but is nice to have if you're writing long macros or event scripts. RyanE joecheech 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.