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 autoplay and mute attribute with < video > tag in HTML for youtube ? with example

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

How to use the datalist tag in HTML?

Why TD is used in HTML?

How to use string in Solidity programming language ?

How to add Amazon website inside iframe?