1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

  2. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

RUN statement

Discussão em 'PSDN - Forum' iniciado por Agnaldo, Agosto 28, 2017.

  1. Agnaldo

    Agnaldo Membro Ativo

    Progress 9, Windows.

    Two Button Screen.
    B1 e B2.
    Both give RUN in another program that is on disk.

    B1 B2
    -- --
    RUN p1.w. RUN p2.w.
    MESSAGE "Back from p1". MESSAGE "Back from p2".

    Correct execution
    --------------------
    Click on B1. Open p1 program.
    Click on B2. Open p2 program.
    Close p2. Show "Back from p2".
    Close p1. Show "Back from p1".

    Execution seems wrong
    ----------------------------
    Click on B1. Open p1 program.
    Click on B2. Open p2 program.
    Close p1. Do not show "Back from p1". B1 button freezes, no action.
    Close p2. Show "Bcak from p2". Button keeps running.

    It gives the impression that it places the calls in a "stack" and the last one that enters has to be the first one that comes out.
    Any way around this?
  2. Agnaldo

    Agnaldo Membro Ativo

    Progress 9, Windows.

    Two Button Screen.
    B1 e B2.
    Both give RUN in another program that is on disk.
    Código:
    B1                           B2
    --                           --
    RUN p1.w.                    RUN p2.w.
    MESSAGE "Back from p1".      MESSAGE "Back from p2". 
    
    Correct execution
    --------------------
    Click on B1. Open p1 program.
    Click on B2. Open p2 program.
    Close p2. Show "Back from p2".
    Close p1. Show "Back from p1".

    Execution seems wrong
    ----------------------------
    Click on B1. Open p1 program.
    Click on B2. Open p2 program.
    Close p1. Do not show "Back from p1". B1 button freezes, no action.
    Close p2. Show "Bcak from p2". Button keeps running.

    It gives the impression that it places the calls in a "stack" and the last one that enters has to be the first one that comes out.
    Any way around this?

Compartilhe esta Página