If you need null you should use Integer (object not int primative) in java.
In flex I'm not sure.
On Thu, Sep 10, 2009 at 8:31 PM, Jon Gunnip jongun...@gmail.com wrote:
David,
The int primitive type in Java and Flex cannot be null. They both
default to 0. If you have,
var myInt:int; //
Hi Tom,
in my BlazeDS Debug, all my int variables are set to 0.
My flex object variables of type int are pre-set to null and some are not set.
When debuging Flex, I noticed Flex automatically sets my variables to 0.
Why does this happen?
Thank you.
-David
David,
The int primitive type in Java and Flex cannot be null. They both
default to 0. If you have,
var myInt:int; // ActionScript
int myInt; // Java
then that is the same as initializing myInt to 0.
Jon
On Thu, Sep 10, 2009 at 11:13 AM, whiskerstasters sailorse...@yahoo.com wrote:
Hi Tom,
3 matches
Mail list logo