next up previous contents
Next: What Functions and Procedures Up: Defining functions and procedures Previous: Procedures   Contents

Functions

Functions are defined by:
function function_name,arg1,arg2..... ,keyword1=keyword1....
statement
statement
.
.
.
return, return_value
end

Functions are called by:

foo = function_name(argval1,....., keyword1=value1.... )

and return one specific value return, return_value



lecjm 2008-11-06