Sorry to double post, but below is the word from the ES4 guys.  Looks
like nullable primitive types are in the new spec.  Hopefully Adobe
will follow suit:
-------------------------------------------
> Just for clairification...  These wrapper classes will be available in 
> the NEXT version of es4?

There is only one version of ES4 (after that it will be ES5...)
ActionScript 3 serves as a basis for ES4 but ES4 is not quite
compatible with AS3.

The ES4 design docs on the wiki do not always explain the current
state of the language; we're not updating them any more.

(Tentatively the ES4 spec will be complete next year.)

--lars

> -----Original Message-----
> Subject: Re: Proposal: nullable wrapper class for primitive data types 
> (int, Number, Boolean)
>
> Those pages are probably somewhat out of date.
>
> At present we have Boolean, Number, and String which are nullable 
> wrapper classes for boolean, double, and string, respectively.  Is 
> there a particular reason you would need specific wrappers for int and 
> could not make do with Number?
>
> If the recordset "will return a null value for an int typed column"
> then arguably the type of the column is (int,null), not int.  The 
> former is expressible in ECMAScript 4 either like that or as "int?".
> Will that not do?
>
> --lars

--------------------------------------------------------


Reply via email to