ReadyBASIC
BASIC Language Reference Manual > Command and Function Reference >

END FUNCTION Command

Summary

Marks the end of a function definition.

Syntax

  • FUNCTION FunctionName
        code block
    END FUNCTION
    

  • FUNCTION FunctionName()
        code block
    END FUNCTION
    

  • FUNCTION FunctionName(ParameterName1)
        code block
    END FUNCTION
    

  • FUNCTION FunctionName(ParameterName1, ..., ParameterNameN)
        code block
    END FUNCTION
    

Remarks and Examples

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

Please refer to the FUNCTION statement for details of defining and invoking functions.


See also: FUNCTION




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