Hello and thanks for listening.
What javascript method should I use to create a queue of structures?
[javascript]
_Queue = []
_X = []
_Y = []
_Z = []
_W = []
function (__structure Queue) main (__structure X, __structure Y, __structure
Z, __structure W, __index Size)
{
var result = new Object();
//X = new Array();
//Y = new Array();
//Z = new Array();
//W = new Array();
_Queue.push([_X, _Y, _Z, _W])
if (_Queue.length > Size) _Queue.shift()
result.Queue = _Queue;
return result;
}
[/javascript]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com
This email sent to [email protected]