07-29-2009, 10:15 PM
Hi All,
I find myself often using "out formatstring" in my functions to track the progress of various variables
Rather than simply having the code say
I use the following
so that I don't get confused about a lot of different variables tumbling out of the Output area
Since I do this so often I wanted to write a function that would automate it for me, like this
Function OutInt
so that in calling function, all I would have to write is
The problem is that I don't know how to pass both the Name and the Value of the variable without a second line before the function like this:
But typing this is as long as the code I am trying to replace!
Any ideas would be greatly appreciated.
Thanks!!, Stuart
I find myself often using "out formatstring" in my functions to track the progress of various variables
Rather than simply having the code say
I use the following
so that I don't get confused about a lot of different variables tumbling out of the Output area
Since I do this so often I wanted to write a function that would automate it for me, like this
Function OutInt
so that in calling function, all I would have to write is
The problem is that I don't know how to pass both the Name and the Value of the variable without a second line before the function like this:
But typing this is as long as the code I am trying to replace!
Any ideas would be greatly appreciated.
Thanks!!, Stuart