SAS Component Language Dictionary |
Ends a METHOD statement block
Category: |
Modular Programming and Object
Oriented
|
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.
End a METHOD block:
METHOD;
...SCL statements...
endmethod;
METHOD
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.