Looking at the following....
Code:
Procedure Activate Returns Integer
String sValue Integer iRetVal
Forward Get msg_Activate to iRetVal
Get Value to sValue
If (sValue = "") Begin
Set Value to "Type Name here"
End
Procedure_Return iRetVal
End_Procedure
Never like the use of msg_ infront of a call. Same as U_
Code:
Get Create U_MyClass to hoMyClass
The new way looks way better
Code:
Get Create (RefClass (MyClass)) to hoMyClass
But why does it not work this way for RefProc
Code:
Forward Get (RefProc (Activate)) to iRetVal
Give an compile error:
Illegal code placement Unusual Uasge Variable or expression used as message
Work Around
Code:
Move (RefProc (Activate)) to iMessage
Forward get iMessage to iRetVal
But that does not look much more simple.
Peter