Assertion: function | /r/CapableOf | return value
Facets:
value: always
type: DEGREE
value: back into the calling code
type: OTHER
value: as the result
type: OTHER
Source sentences:
text: Values can be passed to a function, and the function will return a value.
text: For example, the IF function performs a logical test and then returns one value if the test evaluates to TRUE and another value if the test evaluates to FALSE.
text: The function executes its statements and returns the value 25 .
text: To return a value other than the default, a function must have a return statement that specifies the value to return.
text: To let a function return a value, use the return statement:
text: To let a function return a value, use the return statement:
text: Some programming languages make a distinction between a function, which returns a value, and a procedure, which performs some operation but does not return a value.
text: A function can return a value back into the calling code as the result.
text: A function can return a value.
text: The major difference between a procedure and a function is, a function must always return a value, but a procedure may or may not return a value.
text: 1) Since a function returns a value we can assign it to a variable.
text: A call to a function that returns a value can be composed as a separate operator or it can be used in the program code at places where a value of a certain type is implied.
text: Generally, if a function returns a value, this value will be passed to the calling module (along the red arrow in the direction of the function call).
text: A function can 'return' a value, for example:
text: The answer to the third question is "yes, you can write functions that returns values,".