current position:Home>About the syntax of the solid version?

About the syntax of the solid version?

2022-02-03 20:53:57 Q & A of Denglian community

About Solidity Version syntax problem ?

image.png I Remix The compiled version selected on is the same as the video tutorial , The same with the code , Why are there grammatical errors .

Take the answer 1:

Won't! .

constructor Is in 0.5.0 Keywords introduced later .

0.5 Before Is to use the contract name as the constructor .

Other answers 1:

copyright notice
author[Q & A of Denglian community],Please bring the original link to reprint, thank you.

Random recommended