How to use state Variable for stored values permanently in a contract storage in solidity ?

  How to use state Variable for stored values permanently in a contract storage in solidity ?


pragma solidity ^0.5.0;

contract SolidityTest {

   uint storedData;      // State variable

   constructor() public 

{

      storedData = 10;   // Using State variable

   }

}

Comments

Last 7 Days

How to use sandbox attribute value ( allow-top-navigation) with < iframe > tag in HTML ? with example

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

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

How to use string in Solidity programming language ?

How to use enum in Solidity programming langauge ?

Tag is used to create inline frame ?