Question: showing the value of a variable in a message

Hi
I want to find the syntax for below example:
 

e.g. a=9 and 9 is not a valid entry for parameter a, I want to print an error message like:

Value 9 has been entered for  parameter a is not valid

How can I do this?

Please Wait...