Jump to content
C4 Forums | Control4

Stupid Question (unrelated to new remotes)


joecheech

Recommended Posts


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. 

Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

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.  

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.