ReadyBASIC
BASIC Language Reference Manual > Command and Function Reference >

END PROCEDURE Command

Summary

Marks the end of a procedure definition.

Syntax

  • PROCEDURE ProcedureName
        code block
    END PROCEDURE
    

  • PROCEDURE ProcedureName()
        code block
    END PROCEDURE
    

  • PROCEDURE ProcedureName(ParameterName1)
        code block
    END PROCEDURE
    

  • PROCEDURE ProcedureName(ParameterName1, ..., ParameterNameN)
        code block
    END PROCEDURE
    

Remarks and Examples

The END PROCEDURE statement marks the end of a PROCEDURE definition.

Please refer to the PROCEDURE statement for details of defining and invoking procedures.


See also: PROCEDURE




Copyright 2006-2012, Kevin Matz, All Rights Reserved.