These entries show Statement has no Effect issues. WHy so?

The entries have "Statement has no Effect" problems

    startTime = _startTime; "1513683938";
    endTime = _endTime; "1513687538";
    rate = _rate; "5000";
    wallet = _wallet; "3242t536..."; // <----- sample
    token = createTokenContract();

The statements that have no effect are the ones like this:


Although it's written on the same line as another statement that does do something (startTime = _startTime;), it's a separate statement, and it's just a quoted string.

I'm not sure what was intended, but a quoted string as a statement by itself doesn't have any effect.

| improve this answer | |
  • I dont get you. The UTC timestamps are correct and I enter the values correctly: semicolon etc. – Buzzmuzz5 Dec 19 '17 at 12:07
  • 1
    I'm saying that the line of code "1513683938"; doesn't do anything. – user19510 Dec 19 '17 at 12:22
  • why it doesn't do? it is the start date of crowdsale – Buzzmuzz5 Dec 19 '17 at 12:25
  • 2
    I'm assuming this is your first time programming? You may want to start with something else (perhaps JavaScript) to learn the basic syntax of a programming language before diving into Solidity. – user19510 Dec 19 '17 at 12:47
  • 1
    I'm quite relaxed. :-) My suggestion was meant to be a helpful one. – user19510 Dec 19 '17 at 12:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.