Can someone please tell me what "maxH = maxH == 0 ? maxW : maxH;" means in AS3?
I don't understand this notation at all. If you could break it up into if else statements, that would help me out a lot. Thanks. 
if it were written:
maxH = (maxH == 0 ? maxW : maxH);
would that help you understand it? It's the same, but a little easier to read I think.
In any case it means:
If maxH == 0 then maxH = maxW else maxH = maxH end if
it's a ternary operator btw
Ah! Thank you kindly.
Sorry, you must be a member to post to a conversation. Either
log in or
sign up
to get involved.