POSITION:028,114
COLOUR:POINTS
TEXT:00,receiving variable   function name parameters
COLOUR:EUPHORIA
TEXT:00,                   =              (          )
COLOUR:STANDARD
TEXT:32,Because a function returns a value after processing is complete, it must
TEXT:16,be used in an assignment statement with a variable on the left side of
TEXT:16,the equal sign to receive the returned value. You could say a function is
TEXT:16,very similiar to an expression because, like an expression, it returns
TEXT:16,a single value. Functions can return a value of any data object type
TEXT:16,(an atom or sequence). Some Euphoria functions can return both data
TEXT:16,object types. For this reason, it is advisable to have a receiving
TEXT:16,variable of type object to handle both types of return values. You may
TEXT:16,remember, in our discussion on declaring variables, we mentioned
TEXT:16,object type variables are used when the type of data being returned from
TEXT:16,a program process is unknown. Now you know why object type variables
TEXT:16,are important when dealing with functions!
