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 ( no-referrer-when-downgrade ) with < iframe > tag in HTML ? with example

Difference between Public vs Internal vs Private state variables in solidity programming langauge with example ?

How to use controls attribute with < video > tag in HTML for YouTube ? with example

How to create programming of HTML of audio and video? Source Code for Audio and Video

How to use autoplay and mute attribute with < video > tag in HTML for youtube ? with example

table background-color css