Retrieve value of DCGET object in called function
Posted: Fri Apr 21, 2017 5:45 pm
I have a DCGET xvariable setup in a dialog. Sometimes it might be a DCGET bBlock construct. One of the processes on the dialog calls a function that needs access to the xvariable or the value represented by the result of the bBlock codeblock.
Is there a way, if you have access to the Getlist and know the GETID value, to retrieve the actual value of DCGET without passing the individual variables or bBlock values. The function does many things and different variable needs may appear from time to time. I don't want to continue to pass additional variables as I already am passing the getlist.
Plus it would be nice if the returned value was in the actual type of the getvalue variable or bBlock result.
Is there a way, if you have access to the Getlist and know the GETID value, to retrieve the actual value of DCGET without passing the individual variables or bBlock values. The function does many things and different variable needs may appear from time to time. I don't want to continue to pass additional variables as I already am passing the getlist.
Plus it would be nice if the returned value was in the actual type of the getvalue variable or bBlock result.