AnsweredAssumed Answered

Clearing and Detecting Variable Repetitions

Question asked by deltatango on Apr 25, 2010
Latest reply on Mar 11, 2011 by KevinPfeiffer

Title

Clearing and Detecting Variable Repetitions

Post

I have a few questions.

 

1) Is is possible to count the number of repetitions of a variable or global variable using a function?

 

2) is there a way to clear a (global) variable's repetitions easily?

 

I don't currently know of a way for 1.

 

For 2, I usually make a script and loop:

set variable $c = 1

set variable $$var[$c] = ""

set variable $c = $c + 1

Exit Loop If $c > 100

 

But this is annoying. There should be some unsetVariable script step or something...

 

Thanks

Outcomes