Home Forums HTBasic Forum "SET ECHO" error in Win 98SE

This topic contains 2 replies, has 2 voices, and was last updated by  precaud 5 months, 2 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #512

    precaud
    Participant

    I’ve run into an error using the “SET ECHO” function of HTB 8.3 in Windows 98SE. This is used to put a crosshairs at a given X,Y location, which I use for a graphics cursor. The example program for testing it is:

    10 GINIT
    20 PLOTTER IS CRT,”INTERNAL”
    30 GRAPHICS INPUT IS KBD,”KBD”
    40 FRAME
    50 READ LOCATOR X,Y,S$
    60 SET ECHO X,Y
    70 GOTO 50
    80 END

    Line 50 reads the mouse pointer location, and line 60 puts the crosshairs there.

    This program works fine in ver 8.3 running in Win XP, but not in Win 98SE. No crosshairs is displayed. I’ve tried it in 2 different machines with the same result.

    Any ideas what might be the cause?

    • This topic was modified 5 months, 2 weeks ago by  precaud.
    #514

    ZeRider
    Participant

    Hi Precaud,
    Maybe there is another way to do the same (found in HTbasic help, “GRAPHICS INPUT IS” topic)

    10 PLOTTER IS CRT,”INTERNAL”
    20 GRAPHICS INPUT IS KBD,”KBD”
    30 TRACK CRT IS ON
    40 FRAME
    50 DIGITIZE X,Y,S$
    60 PRINT X,Y,S$
    70 END

    #515

    precaud
    Participant

    Hi Zerider,

    I don’t think that is the same You might have to print it, then erase it (with a negative PEN number), then print it again at a new location.

    I heard back from HTB support yesterday, he told me the SET ECHO issue with 98SE was a known bug in 8.3, it was fixed in 9.x. So I installed 9.2 and its working fine.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.