Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: BDS - Genero Migration - INT_FLAG  (Read 10437 times)
Stephen T.
Posts: 114


« on: January 14, 2014, 12:23:47 pm »

Can I ask if there was a change in how INT_FLAG is handled between BDS and Genero?

Would I be correct in thinking that under Genero, INT_FLAG resetting is entirely up to the users code but that in BDS certain interactive statements may also reset INT_FLAG?

IE if I have a piece of code akin to:

DISPLAY ARRAY ....
ON KEY(INTERRUPT)
     CALL fgl_winbutton(blah)....
END DISPLAY

...that in Genero INT_FLAG will be set by the INTERRUPT KEY, BUT the fgl_winbutton will not then reset it, so after the DISPLAY the INT_FLAG is still set - and conversely in BDS, INT_FLAG is still set by the INTERRUPT, but is then reset by the fgl_winbutton?
Reuben B.
Four Js
Posts: 1126


« Reply #1 on: January 14, 2014, 10:54:53 pm »

FYI, the source for fgl_winbutton, fgl_winmessage etc is in FGLDIR/src.

A quick look suggests your hypothesis is correct.

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Stephen T.
Posts: 114


« Reply #2 on: January 15, 2014, 08:48:12 am »

Thanks Reuben.

I don't have BDS installed on my laptop, and I can't see any source for fgl_win... anywhere (apart from DEMO folders) in the three Genero installs that I have (2.2,2.3 and 2.4).

Steve
Stephen T.
Posts: 114


« Reply #3 on: January 15, 2014, 08:53:27 am »

....Ignore that - I see that they're in fgldialog....
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines