Boolean Values - 2 Settings only type values in Feature Requests
|
|
Not Feasible
|
|
| Status: |
Not Feasible
Implementing this feature is not possible now or in the foreseeable future
|
|
|
I don't know if this is possible or not or even feasible & it doesn't really matter too much but would it be possible to make it so variables like this can be worked with like in the first example unlike the 2nd way which is how it works now?
obj Tables density Wooden Glass Bamboo Metal Gold Fake !density
|
obj Tables density=1 Wooden Glass Bamboo Metal Gold Fake density=0
|
That's the rough idea but considering how the language works in general probably not feasible considering it probably will be parsing density as being an object or something especially at the top part, the second part would probably show up as an error instead because it's tabbed out & wouldn't right now be detected as a variable.
|
"density" just holds a value that could be TRUE or FALSE (1 or 0). The ! operator just gives you the opposite, so "!density" just means "the opposite of the value that's stored in density". "!density" isn't the same as "density = 0".