What is the use of Pragmas keyword in solidity programming language ?

 What is the use of Pragmas keyword in solidity programming language ?


The pragma keyword is used to enable certain compiler features or checks. 


A pragma directive is always local to a source file, so you have to add the pragma to all your files if you want to enable it in your whole project. 


If you import another file, the pragma from that file does not automatically apply to the importing file.

Comments

Last 7 Days

How to use referrerpolicy Attribute value (strict-origin ) with < iframe > tag in HTML ? with example

Tag is used to create inline frame ?