User Tools

Site Tools


debugging_complex_programs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
debugging_complex_programs [2018/12/26 11:27] – [Debug messages] emozolyakdebugging_complex_programs [2021/01/19 13:55] – [Project initialization] emozolyak
Line 2: Line 2:
  
 ===== Project initialization ===== ===== Project initialization =====
 +===== Proper commenting =====
 +Use commenting you will understand next time you or someone will see you code.
 +<code lua>
 +----------------------------------------CALC. DAY ECONOMY --------------------------------------------------
 +    LimitMonthDayYesterday = GetReg("LimitMonthDayYesterday1"             -- Yesterday's limit
 +    HeatEnergyDay= GetReg("HeatEnergyDay"                                 -- Heat qty. for yesterday
 +    WriteReg("SavingDay1", (LimitMonthDayYesterday - HeatEnergyDay))        -- Economy for the day                          
 +------------------------------------------------------------------------------------------------------------ 
 +</code>
 +
  
 ==== Non - volatile registers ==== ==== Non - volatile registers ====
debugging_complex_programs.txt · Last modified: 2022/01/15 20:50 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki