Comments (3)
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.
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.
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)
- DumpGrid omits property named "Name" (v0.1.2.30750) HOT 3
- Upload Chocolatey package
- Add support for clearing the interactive console HOT 2
- License HOT 1
- Should have a menu item to 'close all files' HOT 2
- Can't add an 'assembly reference' to the workspace HOT 1
- Upgrade CShell to also run F# scripts HOT 1
- Coding Guideline: Convert all tabs to spaces HOT 2
- Add Wix Installer to project HOT 2
- Output window doesn't work anymore HOT 1
- Refactor console output
- Wix installer has assemblies missing, CShell.exe crashes on open
- Default workspaces not opened when installed via the installer
- Input string was not in a correct format
- Printers
- Add the ability to dump into files and clipboard
- Multiple Workspaces
- UX: Text editing painful to use (suggestion) HOT 1
- Is there a place where we can change the splash screen image?
- Can you update the referenced assembly version?(AvalonEdit + NRefactory) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cshell.