What a pity, I was hoping for the ++ operator to be implemented, so you could do
++values.myvalue
or
values.myvalue++
Regardless, thanks very much for the information. I reckon, a help update might be what makes v4.0.4.0, then [;)].
Possible the docs are lagging behind. Not much to these new constructs, though:
#1: if - else if - else
if (boolean) {expression; ...} else if (boolean) {expression; ...} else if (boolean) {expression; ...} else {expression;...}
#2: Increment / decrement operators
values.myvalue += amount
to increment myvalue by amount. Replaces values.myvalue = values.myvalue + amount.
values.myvalue -= amount
to decrement by amount.
Dear community,
the "What's new" page for Inquisit 4 (http://www.millisecond.com/products/Inquisit4/whatsnew.aspx) states that we can now use "New language constructs such as else if and increment operators" in the new version. Where are these described? I seem to not be able to find anything related in the help docs.
Regards, Malte