Name that function: Ternary operator
varName = (conditional expression) ? valueIfTrue : valueIfFalse;
So many times I have been searching for this way of setting av varible, and know it turns up it got a name: Ternary operator.
Next time I have forgot the way of formating it, at least I know what to “Google” for.
Discovered it in ActionScript 3.0 Cookbook, which BTW is one of the best computer books I have ever bought.