Using frames in progress 4gl

Discussão em 'StackOverflow' iniciado por fdantas, Julho 2, 2015.

  1. fdantas

    fdantas Administrator Moderador

    Can anyone help me understand how to display the following pattern using a Progress 4gl frame:
    1
    1 2
    1 2 3
    1 2 3 4
    1 2 3 4 5.

    I have tried like this:

    DEFINE VARIABLE a AS INTEGER NO-UNDO.
    DEFINE VARIABLE b AS INTEGER NO-UNDO.
    DO
    a =1 TO 5 WITH FRAME f:
    DO
    b = 1 TO a WITH FRAME f:
    DISPLAY a SPACE SKIP.
    PAUSE.
    END.
    END.


    /* while displaying the answer is overwritten, how do I display the answer side by side? */

    Continue reading...

Compartilhe esta Página