Q1: Is there any other way of passing value in a constructor function without using web3js object.
Q2: And in the below code whenever this contract is called will that be recompiled or wil just the value be updated?
pragma solidity ^ 0.4.8 ;
contract lastPrice {
uint price ;
uint lprice ;
function lastPrice (uint _price) {
lprice = (_price * 1 ether);
}
function showPrice () constant returns (uint) {
return lprice ;
}
}