Re: 4GL 4.10 and Interrupting a Construct Statement
Posted in 1996
> > I have a program in 4.10 4GL. In it I have a construct statement, called > by a Query option in a menu. Whenever the user interrupts the Construct > statement, I always get an error 1141 when I try to Close the Window > after exiting the menu. I have tried calling the menu from a different > > Error 1141 : Cannot close window with active INPUT, DISPLAY ARRAY or MENU > statement. > Has anyone else run into this? > I think we all have. :-) Old age brings a certain fuzziness to the mind, but I recall something to the effect of "a bug in 4GL pops things off the stack in the wrong order". Or something like that. We had it even worse: we wrote a code generator that worked perfectly with .03 and 4.0, then when we tried it with 4.1, our ultimate CLOSE WINDOW would display this rather horrid error message as we were leaving the program. :( Anyway, we got around it (luckily and easily) by not having a CLOSE WINDOW just before our END MAIN. A newer version of 4GL should fix it. HTH. -- Ciao, Billy +------------------------------------------------------------------------------+ | Billy Wheeler Chief Cook and Bottlewasher The West Solutions Group | +------------------------------------------------------------------------------+ | (E) billy@west.co.za (U) http://www.west.co.za/billy.html | +------------------------------------------------------------------------------+ | I've been in computers for so long, I can remember agreeing with Bill Gates | | that 640K would be enough memory for anyone.... | +------------------------------------------------------------------------------+