This is how I code. And is what I was seeing in my head when I made
that observation about benos code.
Your right Paul.
Without braces, it can get a little "run-on-sentence ish" but still
works.
I agree Greg.
It is a matter of preference. And with AS3 I believe, it is more like
without braces. Yes?
Karl
Sent from losPhone
On Dec 9, 2009, at 6:30 AM, Paul Andrews <[email protected]> wrote:
If the function is written as:
if(isNaN(flag)){
return someValue;
} else {
return someOtherValue;
}
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders