Sharp PC-1403 Operation Manual page 176

Hide thumbs Also See for PC-1403:
Table of Contents

Advertisement

170
When
run,
this
program prints the
word
"HELLO" one
time.
10 GOSUB 100
20
END
100 PRINT "HELLO"
110
RETURN
Examples
EHi
A subroutine
may have more
than one RETURN
statement, but
the first one
executed
terminates the
execution of the subroutine.
The
next
statement executed will be the
one following the GOSUB or ON
...
GOSUB which
calls the subroutine. If a RETURN
is executed without a
GOSUB,
an
ERROR
5
will occur.
1µm+Mi
The RETURN verb is used
at
the end of a subroutine to return
control
to the statement
following
the
originating
GOSUB.
1
RETURN
Abbreviations: RE., RET., RETU.,
RETUR.
See
also: GOSUB,
ON
...
GOSUB
Verbs
RETURN

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents