[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon Mar 26 08:35:40 1999 
Subject:Re: Queues in POP11 
From:Aaron Sloman See text for reply address 
Volume-ID:990326.01 

[Apologies if this turns up twice. Something went wrong when I
first tried posting in]

Dave FitzGerald <dpf@cs.bham.ac.uk> writes:

> Hi, I'm wondering if I can be helped on this problem...
>                     
> What would be the best way to implement a queue in POP11? REF/TEACH/HELP
> queues doesn't give me anything back.                   
>
> So far I'm just using a list, but moving the queue along doesn't seem to
> be very efficient at all.


I have just remembered LIB NEWQUEUE, See HELP NEWQUEUE

| The procedure NEWQUEUE can be used to create "queues". The queue is a
| procedure which can be assigned to, to add an item to the end of the
| queue, or can be called to return the next item from the front of the
| queue.

Aaron
===
-- 
Aaron Sloman, ( http://www.cs.bham.ac.uk/~axs/ )
School of Computer Science, The University of Birmingham, B15 2TT, UK
EMAIL A.Sloman AT cs.bham.ac . uk   (NB: Anti Spam address)
PAPERS: ftp://ftp.cs.bham.ac.uk/pub/groups/cog_affect/0-INDEX.html