0 Replies Latest reply on Feb 25, 2007 12:01 PM by tolga_erdogus

    Will there be nullable primitve type support in actionscript any time soon?

    tolga_erdogus Level 1
      A lot of times there is just a serious need to have a nullable column in a DB because it is important to denote a not-set value. Passing in 0 to that field from the code layer because the programming language just can't natively support a nullable int is not a good thing. Now, I have to keep track of special values for each and every column that is nullable but equates to a non-nullable primitive type in the programming language that passes column values in. This create a ton of overhead on the programming side as well as the GUI side (because the GUI classes like a textbox don't have the concept of an unset value)...

      .NET 2.0 fixes this very nicely and I am hoping that Actionscript 4.0 will, too...

      In the mean time is there an elegant and simple way to program around this?