1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Stackoverflow]

Discussão em 'StackOverflow' iniciado por fdantas, Janeiro 13, 2021.

  1. fdantas

    fdantas Administrator Moderador

    As mentioned before in some questions with "Progress-4GL" and "OpenEdge" tags, I'm working with AppBuilder and Procedure editor. As a result, the debugging possibilities are extremely limited: for knowing the value of a variable, I need to do show them on screen, something like this:

    MESSAGE "temp1=[" temp1 "], temp2=[" temp2 "]" VIEW-AS ALERT-BOX.


    I can also put that information in a logfile, but that's not the main point here.

    I would like to write a procedure, which can handle this, something like:

    PROCEDURE SHOW_VARIABLES_AND_VALUES (INPUT I1, INPUT I2, ...):
    1. <put parameter names and values together inside one string> => """I1="" I1"
    2. <do this for all input parameters (the number is unknown)> => """I1="" I1, ""I2="" I2, ..."
    3. <how to use this (MESSAGE VIEW-AS ALERT-BOX, LOG, ...) there I'll know what to do>


    Does anybody know how to handle the fist two points (put variable name and value together and handle an unknown number of input parameters)?

    Thanks in advance

    Continue reading...

Compartilhe esta Página