Previous Page | Next Page

SAS Component Language Dictionary

ENDMETHOD



Ends a METHOD statement block
Category: Modular Programming and Object Oriented

Syntax
Details
Example
See Also

Syntax

ENDMETHOD;


Details

The ENDMETHOD statement marks the end of a method block in an SCL program. Use ENDMETHOD with a METHOD statement to indicate a block of statements that can be called by the METHOD routine. When the method block is executed, control returns to the calling program when ENDMETHOD is encountered.


Example

End a METHOD block:

METHOD;
   ...SCL statements...
endmethod;


See Also

METHOD

Previous Page | Next Page | Top of Page