Comments (7)
Errorcodes like in C++ would be useful. Maybe as switch at the run command.
For example:
// run myprogram1 silent.
// run myprogram2 errorcode.
from kos.
I'm sure we can fix it so that at the very least it doesn't print the message when quitting a sub-program
from kos.
I think, you shouldn't remove the message. I think another command or a optional param is more useful, because I wrote scripts that I use in chains (preflight, launch, orbit) and some of them stand alone (transit).
So sometimes it's useful to me to see if a program has finished, to do some manual corrections, without disturbing the program, while it's executed.
from kos.
One way would be to print the message only when the last program was ended. I'm not sure how the interpreter handles the run
command, but I guess as soon as the interpreter executed the last line of the current file it checks for the next command in the previous file (which called that other one). If it can't find one print the line.
from kos.
@xZise That should also work. Good suggestion.
from kos.
Okay d6abbc1 appears to solve this.
from kos.
This is claimed to be solved in 0.8 but until some of the other issues with 0.8 are solved I'm still using 0.7. Once I do use 0.8 I'll test this and if solved I'll close it.
from kos.
Related Issues (20)
- No way to read current nodeless encounter. HOT 1
- Could there be a way to read "Closest Approach"? HOT 4
- UNTIL will break at first chance. HOT 4
- v0.9.2 INLIGHT returns false negatives. HOT 1
- v0.9.2 kOS doesn't detect the reference transform has changed when the ship splits. HOT 4
- v0.9.2 alt:radar returns altitude when "too high" HOT 6
- Add page up + down to console editor
- if (encounter == encounter) { ... }. // can't compare orbitinfo to orbitinfo ... HOT 2
- Not working scripts HOT 4
- [Suggestion] Add ability to change max throttle of engines HOT 6
- Custom filetype HOT 5
- Prograde angles wrong below 70,000M on Kerbin. HOT 9
- Can't focus on kOS Terminal HOT 4
- Some kind of autoexec [enhancement] HOT 2
- Request: ISO-8601 time format HOT 1
- LIST FILES IN var. Does not work. HOT 3
- SHIP:FACING:PITCH supplying wrong values HOT 1
- setting node:eta does not do anything
- Terminal won't open HOT 1
- Add tab to KSC
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 kos.