Home Forums HTBasic Forum Cannot run on timeout example

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #8791
    Anonymous

      Hi everyone,

      I am still new with the HTBasic programming. I try to run the on timeout example from the HTBasic example program, it shows “Error 163 IN 20 Interface not present”. After I uncomment the LOAD BIN “SERIAL32”, it shows “Error 167 IN 10 Interface Status Error”.

      Is there anyone know how to solve this error?

      Code from HTBasic example program:

      !LOAD BIN “SERIAL32”
      ON TIMEOUT 9,5 GOTO L50 ! Wait 5 seconds and then timeout.
      L20: PRINT “WAITING…”
      ENTER 9;X$
      PRINT X$
      GOTO L20
      L50: PRINT “IT TIMED OUT”
      END

      Thanks you
      Amin

    Viewing 1 post (of 1 total)
    • You must be logged in to reply to this topic.
    Scroll to Top
    HTB icon

    Please Sign In