realbasic-nug
[Top] [All Lists]

Do you use Array.Pop?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Do you use Array.Pop?
From: Phil M <phil at mobleybros dot com>
Date: Sat, 31 Dec 2005 10:11:58 -0800
Delivered-to: realbasic-nug at lists dot realsoftware dot com
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?


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