Giter VIP home page Giter VIP logo

Comments (5)

jeromesimeon avatar jeromesimeon commented on July 17, 2024 1

The left can be used to e.g., setup imports, global variables, a whole contract -- it's really the context for evaluation on the right.

from ergo.

jeromesimeon avatar jeromesimeon commented on July 17, 2024

It shows the expected error:

Screenshot 2020-12-09 at 11 41 41 AM

As explained here:

Screenshot 2020-12-09 at 11 42 22 AM

you have to prefix the expression with return:

Screenshot 2020-12-09 at 11 43 28 AM

from ergo.

sofiter avatar sofiter commented on July 17, 2024

I figured out that you can paste the command on the right half of the screen and hit evaluate and it works that way.
Maybe it is not clear because there are no instrauctions or headings where you should paste the code.
I still don't understand what the left half of the screen does. Maybe i should close this issue as long as it works with the right screen correctly?
I am sorry for any inconvenience

from ergo.

sofiter avatar sofiter commented on July 17, 2024

Yes @jeromesimeon you are right, it doesn't write it in all commands though. Additionaly it was not clear that I should paste it on the right half. Sorry about not figuring out earlier

from ergo.

sofiter avatar sofiter commented on July 17, 2024

I am closing the issue since it is not an issue. Just a final note that maybe a few labels on REPL could help newbies :-)

from ergo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.