Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return value
Message
From
05/06/2002 12:34:32
 
 
To
05/06/2002 11:52:46
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00664991
Message ID:
00665027
Views:
19
Joe,

Run your program (or procedure) like this:
llSuccess = myprog()
or, you can do this:
if myprog()
   *  myprog was successful
else
   *  something went wrong
endif
>I am calling a prg from a form using:
>
>do myprg
>
>After the prg has finished running I want it to return a value letting me know whether or not everything was successful. If something failed in the prg I put a Return .f., if it was successful I put a Return .t.. How do I accept that return value into the calling form? Am I even doing this properly?
>
>TIA!
Steve Gibson
Previous
Reply
Map
View

Click here to load this message in the networking platform