I have changed the code to use null instead of undefined to mark pending  
values , and it works perfectly well.

Do you need the code for the change ?

Maurice

-----Message d'origine-----
De : Nigel Magnay [mailto:[email protected]] 
Envoyé : lundi 17 février 2014 14:03
À : [email protected]
Objet : undefined elements in Vector.<*>

I am attempting to use the paged list implementation here:
https://github.com/jamesward/DataPaging/blob/master/src/PagedList.as

This relies on storing 'undefined' values in a vector.

I cannot get this to work. The following does not produce any trace on my test 
enviroment:

private const td:Vector.<*> = new Vector.<*>(100);

...

td[0] = undefined;

if( td[0] === undefined ) { trace("yes, it is undefined");


I.E: the values are *null *not *undefined. *

Is this some special compiler option (I'm using FB4.6 with a variety of SDKs, 
none of which seem to worl).

Reply via email to