REBOL [ Title: "Pop" Date: 3-Jul-2002 Name: Pop Version: 1.0.0 File: %Pop.r Author: "Andrew Martin" Purpose: {Returns the first value in a series and removes it from the series.} Email: Al.Bri@xtra.co.nz Web: http://valley.150m.com Category: [util 5] ] Pop: function [ "Returns the first value in a series and removes it from the series." Stack [series! port! bitset!] "Series at point to pop from." ][ Value ][ Value: pick Stack 1 remove Stack :Value ]