Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP Wish: Using returned objects directly
Message
From
26/09/1999 17:12:05
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
VFP Wish: Using returned objects directly
Miscellaneous
Thread ID:
00269146
Message ID:
00269146
Views:
51
Can we do something like this:
wait window ReturnVal().Name
function ReturnVal
return createobject('Label')
? If not, I would like to see it. That way we could write code that to methods that looks like other languages:

oTree.Nodes('tNode').Expand

Try this:

?type("createobject('Label')") &&O

Then:

?type("ReturnVal1()") &&U
function ReturnVal1
return createobject('Label')
Next
Reply
Map
View

Click here to load this message in the networking platform