Nivekk / KOS

Fully programmable autopilot mod for KSP.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

(request) boolean NOT operator

Dunbaratu opened this issue · comments

At the moment it's very hard to do the following:

myboolean off.
if myboolean is false { something. }.

Because you can't compare it with a number with =0, and there's no constant for FALSE to compare it to, and there's no NOT or (!) operator.

Because of this I've been finding myself avoiding booleans just because integers work as booleans and with an integer I can at least say "= 0" as an ad-hoc "not" operator.