[Stackoverflow] [Progress OpenEdge ABL] How to show an unknown list of variables and their values, if possible

Status
Not open for further replies.
D

Dominique

Guest
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:

Code:
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:

Code:
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...
 
Status
Not open for further replies.
Top