ABC uses Side-Effect:
GlobalRequest = InsertRecord
see ThisWindow.Init
SELF.Request = GlobalRequest ! Store the incoming request
On the flip side, you'll see GlobalResponse is used to detect an OK or CANCEL
These are the 3 main side effect variables.
Note: When working with EXE/DLL sets, then there should be one set of actual variabls in the base dll, and all other DLLs and the EXE should have them set as EXTERNAL
GlobalRequest BYTE(0),THREAD ! Set when a browse calls a form, to let it know action to perform
GlobalResponse BYTE(0),THREAD ! Set to the response from the form
VCRRequest LONG(0),THREAD ! Set to the request from the VCR buttons