I have a VFP form that I would like to have return a value. I know that I can put RETURN (value) in the Unload event of the form, but what is the form calling syntax? With old .SPRs I just created a .PRG and called it like so:
IF MyDialog() = 1
...
ENDIF
How do I do this with a VFP form?
TIA