3. Statements : OpenROAD Language Statements : Return Statement : Parameters—Return Statement
 
Share this page                  
Parameters—Return Statement
This statement has the following parameter:
expression
Specifies a value returned to the calling frame or procedure when the return statement is executed and closes the called frame or procedure. The value must have a data type compatible with the return data type of the called frame, global procedure, or method as defined in the visual development environment when you create the frame, global procedure, or method.
For a return in a local procedure, the value must have a data type compatible with the declaration of the local procedure.
The value of expression can be a reference variable to return an object.