Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent variable case-sensitivity. #15

Closed
childonline opened this issue Aug 26, 2013 · 2 comments
Closed

Inconsistent variable case-sensitivity. #15

childonline opened this issue Aug 26, 2013 · 2 comments
Labels

Comments

@childonline
Copy link
Contributor

I'm not sure if this is intended behavior or not.

lock throttle to 1. - works, sets maximum throttle.
lock THROTTLE to 1. - doesn't work, throttle remains at 0.

This is an inconsistency because all other kOs variables are not case-sensitive, eg:
print missiontime. - works.
print MISSIONTIME. - works.

print VESSELNAME. - works.
print vesselname. - works.

@Nivekk
Copy link
Owner

Nivekk commented Aug 26, 2013

Previously I had found that set doesn't work with the throttle at all and that the throttle must be locked.

Can you tell me if case makes a difference for you when using lock?

@childonline
Copy link
Contributor Author

My bad, my KerbScript was actually using lock, not set, I have updated the issue statement accordingly.
PS: You are right set doesn't work at all with throttle/THROTTLE.

@Nivekk Nivekk closed this as completed Sep 1, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants