Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Print Using?
#9
(11-02-2022, 12:36 AM)justsomeguy Wrote: Is this what your looking for?

Code: (Select All)
'timer

s = 0
DO
  _LIMIT 5
  CLS
  s = s + 1
  IF s > 59 THEN
    m = m + 1
    s = 0
  END IF
  tmp$ = CHR$((48 * -(m <= 9)) + (35 * -(m > 9))) + "#:" + CHR$((48 * -(s <= 9)) + (35 * -(s > 9))) + "#"
  LOCATE 1, 1
  PRINT USING tmp$; m; s
  _DISPLAY
LOOP

This is what I was planning to do and thought I'd ask first  Big Grin

Just in case there was some time/clock format command that existed for this purpose. I like all the different approaches suggested so far, but the chr$ version is the only one I had in mind before asking.
Reply


Messages In This Thread
Print Using? - by james2464 - 11-01-2022, 11:39 PM
RE: Print Using? - by bplus - 11-01-2022, 11:45 PM
RE: Print Using? - by mnrvovrfc - 11-01-2022, 11:49 PM
RE: Print Using? - by Pete - 11-01-2022, 11:51 PM
RE: Print Using? - by james2464 - 11-02-2022, 12:03 AM
RE: Print Using? - by Kernelpanic - 11-02-2022, 12:23 AM
RE: Print Using? - by PhilOfPerth - 11-02-2022, 12:26 AM
RE: Print Using? - by justsomeguy - 11-02-2022, 12:36 AM
RE: Print Using? - by james2464 - 11-02-2022, 12:54 AM
RE: Print Using? - by Kernelpanic - 11-02-2022, 01:03 AM
RE: Print Using? - by PhilOfPerth - 11-02-2022, 01:33 AM
RE: Print Using? - by justsomeguy - 11-02-2022, 01:55 AM
RE: Print Using? - by SMcNeill - 11-02-2022, 02:51 PM
RE: Print Using? - by james2464 - 11-02-2022, 03:37 PM
RE: Print Using? - by mdijkens - 11-02-2022, 06:04 PM
RE: Print Using? - by bplus - 11-02-2022, 06:16 PM
RE: Print Using? - by james2464 - 11-02-2022, 06:22 PM
RE: Print Using? - by bplus - 11-02-2022, 06:25 PM
RE: Print Using? - by james2464 - 11-02-2022, 06:33 PM
RE: Print Using? - by Pete - 11-02-2022, 06:33 PM
RE: Print Using? - by james2464 - 11-02-2022, 06:43 PM
RE: Print Using? - by mnrvovrfc - 11-02-2022, 06:48 PM
RE: Print Using? - by Pete - 11-02-2022, 06:54 PM
RE: Print Using? - by TerryRitchie - 11-02-2022, 09:22 PM
RE: Print Using? - by james2464 - 11-02-2022, 06:51 PM
RE: Print Using? - by Kernelpanic - 11-02-2022, 10:36 PM
RE: Print Using? - by SMcNeill - 11-03-2022, 12:11 AM
RE: Print Using? - by Kernelpanic - 11-03-2022, 12:47 AM
RE: Print Using? - by mnrvovrfc - 11-03-2022, 12:07 PM
RE: Print Using? - by Kernelpanic - 11-03-2022, 03:26 PM
RE: Print Using? - by SpriggsySpriggs - 11-03-2022, 03:44 PM
RE: Print Using? - by bplus - 11-03-2022, 03:53 PM
RE: Print Using? - by Kernelpanic - 11-03-2022, 03:59 PM
RE: Print Using? - by SpriggsySpriggs - 11-03-2022, 04:36 PM
RE: Print Using? - by mnrvovrfc - 11-03-2022, 05:17 PM
RE: Print Using? - by SpriggsySpriggs - 11-03-2022, 05:59 PM
RE: Print Using? - by mnrvovrfc - 11-03-2022, 09:16 PM
RE: Print Using? - by bplus - 11-03-2022, 05:22 PM
RE: Print Using? - by mnrvovrfc - 11-03-2022, 05:32 PM
RE: Print Using? - by bplus - 11-03-2022, 05:57 PM
RE: Print Using? - by SMcNeill - 11-03-2022, 05:58 PM
RE: Print Using? - by Kernelpanic - 11-04-2022, 12:57 AM
RE: Print Using? - by mnrvovrfc - 11-04-2022, 03:47 PM



Users browsing this thread: 7 Guest(s)