Wiki re-export
liorean
liorean at gmail.com
Wed Mar 14 21:29:48 PDT 2007
On 15/03/07, Francis Cheng <fcheng at adobe.com> wrote:
> Please feel free to point out any other
> inconsistencies you find, and I'll make sure that they get corrected.
> Likewise for areas that need additional explanation.
Well, I just remembered seeing another thing:
> proc asType( obj:*, type:Type ) : type
> {
> /*
> If obj implicitly converts to type,
> Return obj implicitly converted to type
> Else If type includes null
> Return null
> Else
> Return obj explicitly converted to type
> */
> }
Again, you're using as instead of cast.
--
David "liorean" Andersson
More information about the Es4-discuss
mailing list