PxPlus User Forum

Twitter Twitter Twitter

Author Topic: Windows Numbers  (Read 416 times)

Lawrence_Leavell

  • Silver Member
  • ***
  • Posts: 43
    • 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

  • Administrator
  • Diamond Member
  • *****
  • Posts: 3312
  • Mike King
    • View Profile
    • PVX Plus Technologies
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.