Giter Club home page Giter Club logo

Comments (3)

lukebuehler avatar lukebuehler commented on August 26, 2024

There are 2 things going on, first you forgot a semicolon ";" on the 3rd line. But you are right, pasting multi-line statements to the REPL doesnt work right now, but I'll add that soon, I think it should be supported.

If add all the code to one line and fix the colon it should work.

from cshell.

lukebuehler avatar lukebuehler commented on August 26, 2024

One more thing, if you select the whole block of code in a script file and then hit alt+Enter it will work!

from cshell.

davidhq avatar davidhq commented on August 26, 2024

oh the semicolon! that's the culprit for the entire issue...
when I add it, everything works.. so not sure what you are saying that pasting multi-line statements doesn't work...

when I don't add the semicolon, select the entire code and hit alt+Enter, it's still the same error..

the reason I didn't pick up on the error message saying the error was on (4,0) is that I was sure the problem is in the first line and (4,0) is referring to "strings" symbol there.. when in reality it was the 4th line (because the semicolon was missing on the third line)..

I'm happy , everything works! :) thank you!

from cshell.

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.