[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ListIndex
From: |
Jonathan Impett |
Subject: |
ListIndex |
Date: |
Mon, 16 Apr 2001 19:29:12 +0100 |
Hello,
There's obviously something I've misconceived in my use of ListIndex.
scheduler is a list, happily created elsewhere. At line ***, it tells me
the object does not conform to the `ListIndex' protocol. If I use Index
instead of ListIndex, it begins OK, but of course doesn't know how to
AddAfter...
id <ListIndex> schedIndex;
so = [schedObject create: [self getZone]];
[so setAction:a b1:v1 b2:v2 chan:v3 time:then];
***schedIndex = [scheduler begin: [self getZone]];
while (((event = [schedIndex next]) != nil) && ([event
getTime]<=then))
[schedIndex addAfter: so];
[schedIndex drop];
Any ideas?
thanks,
Jonathan
--
Jonathan Impett
Faculty of Music
University of Cambridge
West Road
Cambridge CB3 9DP
UK
tel: (+44) (0)1954 250192
address@hidden
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.
- ListIndex,
Jonathan Impett <=