Welcome to jBASE's new documentation site! Many answers to your questions can be found by searching the Knowledgebase or viewing the jBASE Documentation. We also have a Google Group for peer discussion about jBASE. If you are unable to find the information you are looking for, jBASE Support will be glad to assist in resolving your technical problems. Enjoy and please provide comments and feedback .

How can we help you?


The RTNDATA statement allows a program to return specific data to the RTNDATA clause of another program's EXECUTE statement. It takes the general form: 

RTNDATA expression


expression may evaluate to any data type.

When a jBASE BASIC program executes another jBASE BASIC program using the EXECUTE statement, it may specify a variable to pick up data using the RTNDATA clause. The data picked up will be that specified by the executed program using the RTNDATA statement.

The data will be discarded if the program is not executed by an EXECUTE statement in another program. 

Go back to jBASE BASIC

Was this article helpful?