JamesBowen
19+ years progress programming and still learning.
OOABL Question:
OpenEdge 11.3.2 WebSpeed Workshop
As part of instantiating a constructor of a class object, I would like to pass an arbitrary number of parameters.
For example:
I was thing of using a syntax similar to a Javascript's object notation: Example "parm1":"value-x", "param2":123, "param3":true
But would like to see if anything else has be done before I start to cut code.
OpenEdge 11.3.2 WebSpeed Workshop
As part of instantiating a constructor of a class object, I would like to pass an arbitrary number of parameters.
For example:
Code:
classObj = NEW ClassObject(INPUT "param1=xyx, param2=abc, param3=345, param4=true" ).
I was thing of using a syntax similar to a Javascript's object notation: Example "parm1":"value-x", "param2":123, "param3":true
But would like to see if anything else has be done before I start to cut code.