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 [2021/01/19 13:55] – [Project initialization] emozolyakdebugging_complex_programs [2021/01/19 13:55] – [Debugging complex scripts] emozolyak
Line 1: Line 1:
 +===== 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>
 +
 ====== Debugging complex scripts ====== ====== Debugging complex scripts ======
  
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