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: Karen <keatk at comcast dot net>
Date: Sat, 31 Dec 2005 13:21:00 -0500
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <8A00AF92-22BD-4908-9E90-603492F65776 at mobleybros dot com>

On Dec 31, 2005, at 1:11 PM, Phil M wrote:

Isn't that a great function? It removes and returns the last element in an array.

Well I am a little bothered that the equivalent function was not created to remove and return the first item of the array. PHP calls this function array_shift() but I don't think that name describes the function well enough... what other names can you think of that would describe a Pop function for the first element in the array?

FIFO_Pop ?

- karen
_______________________________________________
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>