BASIC-DOS

A PCjs Retro-Programming Project

BASIC-DOS is on Twitter Project maintained by jeffpar

BASIC-DOS Manual

BASIC-DOS BASIC Commands

RETURN

The RETURN statement returns from a GOSUB subroutine, or returns the value of expression from a multi-line function (see DEF):

RETURN [expression]

A multi-line function must end with a RETURN statement, and it may contain additional RETURN statements (eg, within IF statements).

« LETBASIC Functions »

Copyright (c) 2020-2026 Jeff Parsons Released under MIT License