Create a function that passes a text file.
Posted on 2013-01-29
I need to know how to change the code in the attached snippet into a function. The text file passed contains a column of real numbers that I need to sum. I cannot figure out how to pass the text file to the function.