ACR Electronics FPR-10 PROGRAMMER Manual Page 189

  • Download
  • Add to my manuals
  • Print
  • Page
    / 199
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 188
Parker Hannifin
Error Handling 189
ExcMinutes = minutes MOD 60
REM extract the hour portion
REM remove excess minutes and convert to full hours
hours = (minutes - ExcMinutes) /60
REM remove any hours less than a full day
ExcHours = hours mod 24
REM only full days are left. Only works up to <25 days.
REM remove excess hours and convert what's left to days
days = (hours - ExcHours)/24
PRINT #1, "Approximate Time Running : ";days;" Days ";
PRINT #1, USING "##";ExcHours;" Hours ";
PRINT #1, USING "##";ExcMinutes;" Minutes ";
PRINT #1, USING "##";ExcSeconds;".";ms;" Seconds "
RETURN
ENDP
Page view 188
1 2 ... 184 185 186 187 188 189 190 191 192 193 194 ... 198 199

Comments to this Manuals

No comments