Clearing Text From Message Frame?

I note that the function ScrollingMessageFrame:Clear() and MessageFrame:Clear() are no longer supported.

Other than fade duration, can a scrolling message frame be cleared on command (other than sending a bunch of blank lines to the frame)?

Thanks,

ScrollingMessageFrame:Clear() works for me. Do you have the actual code you are using it on?

Sorry about this, Fizzle. By way of explanation, after my first attempt failed (simple syntax error) I went to the documentation and noted that MessageFrame:Clear() and ScrollingMessageFrame:Clear() were ‘red’ (undocumentated). So, I posted the request thinking that they might have been replaced. So, I posted the question here in the forum.

When I read that it works just fine for you, then I knew I had done something wrong. I went back and studied my code more carefully, and voila, it worked.

So, thanks once again.