Comments not clearing

Back to topics list To post a new topic, please log in or register
avatar
14
jt27 2016.05.02 08:04
 

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? 

avatar
Moderator
3416
GumRai 2016.05.02 09:39 #
 

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.

avatar
14
jt27 2016.05.02 15:57 #
 
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!
Back to topics list  

To add comments, please log in or register