Download LoggerNet Version 1.2 Manual - Bad Request
Transcript
Section 13. Datalogger Program Creation with CRBasic Editor 13.2.5 Inserting Comments Into Program It is often useful to provide comments in your datalogger program so that when you review the program at a later date, you will know what each section of code does. Comments can be inserted into the program by preceding the text with a single quote. When the program is compiled, the datalogger compiler will ignore any text that is preceded by a single quote. A comment can be placed at the beginning of a line or it can be placed after program code. If Syntax Highlighting is enabled (Options | Editor Preferences | Syntax Highlighting), commented text will appear formatted differently than other lines of code. 'CR5000 'The following program is used to measure '4 thermocouples 'VARIABLE DECLARATION Dim TCTemp(4) Alias TCTemp(1)=EngineCoolantT Alias TCTemp(2)=BrakeFluidT Alias TCTemp(3)=ManifoldT Alias TCTemp(4)=CabinT 'Dimension TC measurement variable 'Rename variables In the sample code above, the commented text will be ignored by the datalogger compiler. 13-15