Chapter Contents

Previous

Next
ENDMETHOD

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


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.