• Synchro JSOM - get char a

    From art@DIGDIST/BATTLEST/FREEWAY to All on Tue Dec 8 18:38:00 2009
    Hi all, time to get this echo started I suppose...

    As far as I know, there are:

    console.pushxy()
    console.popxy()
    console.gotoxy()
    console.getxy()

    ... methods, however none of them can get the actual character?

    I.e., go to (5, 10), and see if the character "$" is there on the screen.

    Is this possible?

    Thanks & regards,
    +------------------------------+
    | Art % fatcats.poorcoding.com |
    +--------------- ----- -- -

    ---
    þ Synchronet þ fatcats bbs - http://fatcats.poorcoding.com
  • From Nightfox@DIGDIST/BATTLEST/FREEWAY to art on Tue Dec 8 19:15:00 2009
    Re: Synchro JSOM - get char at xy?
    By: art to All on Tue Dec 08 2009 18:38:02

    As far as I know, there are:

    console.pushxy()
    console.popxy()
    console.gotoxy()
    console.getxy()

    ... methods, however none of them can get the actual character?

    I haven't tried doing that, but looking through the functions of the console object, I don't see anything there that will get a character from the screen.

    So unfortunately, the best way to do that might be to keep track of the characters yourself..

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From art@DIGDIST/BATTLEST/FREEWAY to Nightfox on Wed Dec 9 08:44:00 2009
    Re: Synchro JSOM - get char at xy?
    By: Nightfox to art on Tue Dec 08 2009 19:15:52

    I haven't tried doing that, but looking through the functions of the console object, I don't see anything there that will get a character from the screen So unfortunately, the best way to do that might be to keep track of the characters yourself..

    Yes, I have been thinking overnight... probably the way to achieve this might be a two-dimensional of ROWxHEIGHT... almost like an off-screen buffer. Talk about a pain!

    Thanks for your 2 cents as always.

    Regs,
    +------------------------------+
    | Art % fatcats.poorcoding.com |
    +--------------- ----- -- -

    ---
    þ Synchronet þ fatcats bbs - http://fatcats.poorcoding.com
  • From Nightfox@DIGDIST/BATTLEST/FREEWAY to art on Wed Dec 9 09:50:00 2009
    Re: Synchro JSOM - get char at xy?
    By: art to Nightfox on Wed Dec 09 2009 08:44:58

    Thanks for your 2 cents as always.

    You're welcome. :)

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Dalamar@DIGDIST/BBSKYPCT to art on Mon Dec 26 10:02:00 2022
    Re: Synchro JSOM - get char a
    By: art to All on Tue Dec 08 2009 06:38 pm

    Hi all, time to get this echo started I suppose...
    I know this message was posted quite some time ago, however, "get char a"; are you attempting to get the value of a as an numerical value?
    ---
    þ Synchronet þ BBS KYPCTECH - bbs.kypctech.com