INFO: Understanding the RETURN Command (119900)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 6.0
- Microsoft FoxPro for MS-DOS 2.0
- Microsoft FoxPro for MS-DOS 2.6
- Microsoft FoxPro for MS-DOS 2.6a
- Microsoft FoxPro for Windows 2.6
- Microsoft FoxPro for Windows 2.6a
- Microsoft FoxPro for UNIX 2.6
This article was previously published under Q119900 SUMMARY
The RETURN command provides a great deal of flexibility over program
control. RETURN terminates execution of a program, procedure, or function.
Depending on how RETURN is used, control is returned to the calling
program, the highest-level calling program, another program, or the Command
window. The sample code below illustrates the power of the RETURN command.
REFERENCES
FoxPro "Language Reference"
Modification Type: | Minor | Last Reviewed: | 3/3/2005 |
---|
Keywords: | kbcode kbinfo KB119900 |
---|
|