Internal documentation refers to information written into the program using comment lines.

  • Comment lines allow you to enter text information describing the functionality of a specific section of code.
  • Comment lines are especially helpful for describing subroutines and areas of program code that are difficult to understand.

You must enter the letter C after the line number to prevent the program from interpreting your comments as program commands. For example:

200  C  THIS COMMAND WILL TURN ON SFAN01

210  C  IF RMTEMP VALUE FALLS BELOW 68 OR

220  C  RISES ABOVE 78. SFAN01 WILL REMAIN

230  C  ON/OFF FOR AT LEAST 5 MINUTES.

NOTE:
The device and software used to program PPCL determines how comment lines must be entered. For more information on using comment lines, see the user's manual for the device or software you are using.