9 lines
286 B
Markdown
9 lines
286 B
Markdown
# RETURN statement
|
|
it is used to return from a function and can be used anywhere within a function
|
|
|
|
syntax
|
|
1. RETURN ( return nil )
|
|
2. RETURN expression ( evaluates expression and returns value )
|
|
|
|
any return value must match with the type defined while declaring function
|