How to make a script compilation?

Whenever I try to enter a code or script (both C # and Javascript in the object, I get this message:

Script Player has not finished compilation yet.
Please wait until compilation of the script finished and try again.

How to make a script compilation?

I might be wrong, but try re-importing it or all of the stuff or restarting Unity. Something along those lines seem to work.

Right, is set. in fact I did basically what you said, restarting the unity and saving all files. Saving and correcting all errors displayed in the list console. Thanks dude!