RE - Return from procedure

(9/11/06)

PURPOSE

Returns control from a procedure.

USAGE

.OPERATION: RE

[This operation can only be used within a procedure file. Upon encountering 'RE', control will return to the procedure file that called the procedure file. For example, consider the following two procedure files:

Procedure file
SH1
Procedure file
RT1
SH      RT
PIC001      SHI001
SHI001      ROT001
5,6      90.0
@RT1      RE
MO
....
....

Upon processing of SH1, SPIDER will shift PIC001, put the shifted image into SHI001, and then perform procedure RT1. Procedure RT1 will rotate the shifted image, and put the rotated image in ROT001. SPIDER will then encounter the 'RE' operation, and return to procedure SH1 where it left off (i.e., it will process the 'MO' operation, and continue with processing SH1).

If procedure RT1 were called directly by the user in interactive mode, SPIDER will return to the interactive mode upon encountering the 'RE' command.]

SUBROUTINES

SPIDER

CALLER

SPIDER

© Copyright Notice /       Enquiries: spider@wadsworth.org