See Also: RefClass, RefFunc, RefProc, RefTable
Allows referencing a property setter method (Procedure Set) name in an undecorated manner.
(RefProcSet( {ProcedureName} ))
RefProcSet was mostly provided to complete the set of referencing functions for addressing class members using undecorated names, but we expect that most developers will never use it, while we do expect developers to routinely use RefFunc and RefProc.
In version of DataFlex prior to 15.1, there were certain places where property setter method (Procedure Set) names had to be referenced using a decorated name, by prepending "set_" to the procedure name. Using RefProcSet allows developers to use undecorated property setter method (Procedure Set) names.
This makes referencing property setter method (Procedure Set) names in such instances more intuitive as developers no longer need to know the special decorated naming convention and when to use it. The use of RefProcSet also allows for full CodeSense support in the Studio.
For example, using the old method, you would have to do this:
Property Integer piMyProperty 0
:
Move Set_piMyProperty to iSetter
:
Set iSetter to 10
Now, you can do this instead:
Property Integer piMyProperty 0
:
Move (RefProcSet(piMyProperty)) to iSetter
:
Set iSetter to 10
RefProcSet can only be evaluated at compile time.