Handle - usage in Progress

Discussão em 'StackOverflow' iniciado por fdantas, Setembro 19, 2016.

  1. fdantas

    fdantas Administrator Moderador

    What is the use of handles in progress? Should it be used as a datatype or is it an object? Please explain the usage of handles with buffers.

    I have come across the following 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...

Compartilhe esta Página