|
Re: Negating/Evaluating boolean variable [message #1710093 is a reply to message #1709348] |
Sun, 04 October 2015 07:48 |
Ed Merks Messages: 33264 Registered: July 2009 |
Senior Member |
|
|
Johannes,
Comments below.
On 27/09/2015 12:28 PM, Johannes Dorn wrote:
> I have a boolean variable that the user can set via a checkbox during
> the setup.
>
> For using its value later on, i would like to negate that value.
> So, if the value is true, i want to write "false" in an Eclipse Ini task.
>
> Is this possible somehow?
Not yet, but I suppose we could define/implement a "not" filter that
would do this.
>
> Alternatively, i could execute two different tasks with conditional
> logic evaluating the variable, but i am pretty sure this is not
> supported.
No conditionality is supported at this time.
>
> The third option would of course be to rephrase the label of the
> variable so that the meaning is negated already, but i would prefer
> one of the other options.
Yes, that could be awkward. A new filter should be trivial to support...
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03925 seconds