RE: How to write a function that clears an array?

2004-04-10 Thread Charles K. Clarkson
Jeff 'japhy' Pinyan <[EMAIL PROTECTED]> wrote: : : On Apr 10, Richard Heintze said: : : > I'm passing a singularly dimensioned array to : > a function. I need to clear the array in the : > function so that when I return to the main : > program, there are no entries in the array : > variable I pas

Re: How to write a function that clears an array?

2004-04-10 Thread Jeff 'japhy' Pinyan
On Apr 10, Richard Heintze said: >I'm passing a singularly dimensioned array to a >function. I need to clear the array in the function so >that when I return to the main program, there are no >entries in the array variable I passed to the >function. You have to pass the array by reference, then.