swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: help using ListIndex


From: Marcus G. Daniels
Subject: Re: help using ListIndex
Date: 28 May 1998 10:34:58 -0700

>>>>> "JM" == James Marshall <address@hidden> writes:

JM> Hi, I'm having some teething troubles using ListIndex... my code
JM> crashes when I try to create one. Here's the code segment:

  id allAgents;

  printf("Creating global ListIndex...\n");
  allAgents=[ListIndex createBegin: [self getZone]];
  [allAgents setEndsOnly: NO];
  [allAgents createEnd];
  printf("created\n");

Two problems: 

  1.  A ListIndex is not creatable.  You get an object that provides
      the ListIndex interface by using begin: on a list.

  2.  setEndsOnly: isn't implemented, and will always fail. 

(Before the next release, I intend to take a pass over the documentation
and remove all mention of unimplemented things.  I'm sorry you were
subjected to the misinformation in the documentation.)


                  ==================================
   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.
                  ==================================


reply via email to

[Prev in Thread] Current Thread [Next in Thread]