|
Posted by Rich on 05/26/06 20:21
On Thu, 25 May 2006 18:46:11 -0400, MW wrote...
>
>
>Is there a way to clear all variables and functions that have been
>called by a script?
>
>My problem is that on a script I am using, I call a function, and I
>want to call it again with a fresh start, because essentially I am
>getting duplicate results from the first call....
>
>Thanks!
>
>-MR
Hi MR,
If you're calling a function twice then it will likely repeat the same action.
You can usually pass variables into a function as arguments, and can create new
variables if you need to maintain the value of another. If you try to unset
variables it will probably make it very difficult to debug or keep track of.
Rich
--
Unlimited Newsgroup Downloads / $19.95 month
More Details - http://newsguy.com/overview.htm
Navigation:
[Reply to this message]
|