PxPlus User Forum

Twitter Twitter Twitter

Author Topic: Windows Numbers  (Read 1239 times)

Lawrence_Leavell

  • Silver Member
  • ***
  • Posts: 49
    • View Profile
Windows Numbers
« on: November 14, 2019, 11:46:19 AM »
I am working on a program with multiple windows.  I am using DEC($00$+MID(FIN(0),10,1)) to report the window number, then 'GOTO'(WINDOW_NUMBER) to move between the windows.
This works very well with any emulator EXCEPT Windx.  In Windx, the system occasionally loses track of which window it is in and also fails to 'DROP'(WINDOW_NUMBER), However, 'POP' still works.
I think the client/server communication is somehow losing track. Is there perhaps a SYSTEM PARAMETER we can adjust to correct this?

Mike King

  • Diamond Member
  • *****
  • Posts: 3811
  • Mike King
    • View Profile
    • BBSysco Consulting
Re: Windows Numbers
« Reply #1 on: November 14, 2019, 06:03:37 PM »
My guess us you are running BBx emulation where the Windows numbers start at zero instead of one.

You likely need to tell WindX to use base zero by remotely setting parameter B0.
Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com