realbasic-nug
[Top] [All Lists]

Re: Do you use Array.Pop?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Do you use Array.Pop?
From: Joe Huber <joehuber at talasoft dot com>
Date: Sat, 31 Dec 2005 10:32:37 -0800
Cc:
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <8A00AF92-22BD-4908-9E90-603492F65776 at mobleybros dot com> <810DCA45-AB81-4911-ADD2-60ED38B4F652 at comcast dot net>
At 1:21 PM -0500 12/31/05, Karen wrote:
FIFO_Pop ?

Even if you use the normal POP from the end, you can still manage the LIFO vs FIFO aspect by how you add new members.

  LIFO   use Array.Append

  FIFO   use Array.Insert(0)

Happy Holidays,
Joe huber
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>