• Synchro JSOM - get char a

    From art@DIGDIST/BATTLEST/FREEWAY to All on Tuesday, December 08, 2009 18:38:00
    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 Tuesday, December 08, 2009 19:15:00
    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 Wednesday, December 09, 2009 08:44:00
    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 Wednesday, December 09, 2009 09:50:00
    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