M
Muthaiya
Guest
what is the use of handle in progress? Whether it should be used as datatype or its an object? Please explain me the usage of handles with buffer. I have come across the below set of lines with handle and buffer.
ON WRITE OF custoemr NEW BUFFER new_in OLD BUFFER old_in do: DEFINE VARIABLE m_obuf_hdl AS INTEGER NO-UNDO. DEFINE VARIABLE m_nbuf_hdl AS HANDLE NO-UNDO.
ASSIGN m_obuf_hdl = BUFFER old_in:HANDLE m_nbuf_hdl = BUFFER new_in:HANDLE. end.
Continue reading...
ON WRITE OF custoemr NEW BUFFER new_in OLD BUFFER old_in do: DEFINE VARIABLE m_obuf_hdl AS INTEGER NO-UNDO. DEFINE VARIABLE m_nbuf_hdl AS HANDLE NO-UNDO.
ASSIGN m_obuf_hdl = BUFFER old_in:HANDLE m_nbuf_hdl = BUFFER new_in:HANDLE. end.
Continue reading...