Writing a function with any number of parameters of any type (ie 'paramarray')? - page 2

 

Fair point. I could change the FileWrite() to a Print() or such like. I still like the idea of encapsulating this in a function so I can do things like start every entry with a timestamp.

 
stewart:

Fair point. I could change the FileWrite() to a Print() or such like. I still like the idea of encapsulating this in a function so I can do things like start every entry with a timestamp.

Every entry in the log starts with a timestamp . . why reinvent the wheel ?
 
Another good point. Well at least I now know how to do something new - even if I choose not too :) This has been helpful. Now all I need is to work out how to recognise partial fills and I'll be away!