PxPlus User Forum

Main Board => Discussions => Language => Topic started by: Lawrence_Leavell on November 14, 2019, 11:46:19 AM

Title: Windows Numbers
Post by: Lawrence_Leavell 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?
Title: Re: Windows Numbers
Post by: Mike King 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.