Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to test the return value of a called APP
Message
From
08/01/2004 11:53:35
 
 
To
08/01/2004 11:45:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00865119
Message ID:
00865124
Views:
24
Hi Michael,

Two ideas come to mind.

1) Passing the return value variable by reference.

RetValue = .F.
do .\MyApp.app with SomeVar, @RetValue

2) Reference a public or private from calling app in the called app.

Private RetValue
RetValue = .F.
do .\MyApp.app with SomeVar
? RetValue

Because of the Path being included, the APP can not be called as function.

Greg
Greg Reichert
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform