Comments not clearing

 

I am having an interesting issue where I call the Comment() function each time I get a new tick and instead of clearing the existing comment prior to writing the new comment it will simply write the new comment below the old comments.  Sooner or later the comments have filled the entire screen and run off the bottom.

 Any thoughts? 

 

You are probably adding to a static or globalscope string that you use in the Comment function().

Not possible to guess any more without seeing the code.

 
GumRai:

You are probably adding to a static or globalscope string that you use in the Comment function().

Not possible to guess any more without seeing the code.

That was exactly it, thanks!
Reason: