"RMSVal" was not declared in this slope [SOLVED]

Is there a way i can give you forum-credit for your help and close this thread?

Yes, using the Karma buttons, and no, please don't do that.