# RTNDATA

Updated: 11/30/2021, 7:00:45 PM
Created: 11/30/2021, 7:00:45 PM
Last Updated By: Jake Tuttle
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
1

Where:

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