Comments within code

Posted January 17, 2019 by IndieGenes

I am currently working on a program that simulates orbits of planets in our solar system around the sun and thought it would be really useful to have a block available to make comments within my blocks of code to keep track of the planets I have created. 

Comments within code is an important part of code development in order to help programmers and other team members communicate the functions of the code.

 

Thanks!

Comments

Submitted by sgibbs on Thu, 01/17/2019 - 14:12 · Permalink

Thanks for your suggestion.  Previous versions of StarLogo did allow (and we encouraged!) comments within the code, but we haven't yet added that feature to this version.  I hope that happens soon - in the meantime, all I can suggest is adding comments in the info window to help keep track of your planets.  We would love to see your finished project - please add it as a resource to Teachers with GUTS.