Yes, print just displays a value (any value that you tell it to print, not necessarily the function's output) in the command area. Return doesn't really "save" the value for future use, though unless the caller saves it in a variable — e.g. usefulValue=function(inputs) It's the "usefulValue=" bit that does the saving of the value for later use, not the return inside the function. The return makes the value available – for saving, printing, giving to another function as an input, printing, or whatever. Colin Potts |