Updated: 1/18/2022, 5:31:44 PM
Created: 1/18/2022, 5:31:44 PM
Last Updated By: dependabot[bot]
Read Time: 1 minute(s)

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

Go back to Programmers' Reference Guide