swarm-support
[Top][All Lists]
Advanced

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

doc inconsistency? [swarm 1.2, Array]


From: Thorsten Schelhorn
Subject: doc inconsistency? [swarm 1.2, Array]
Date: Wed, 29 Jul 1998 13:04:39 +0100

The Array documentation states that for setCount:
"Any non-negative value including zero is valid"

However, when my program happens to call setCount: with argument 0, it
failes with the following error message:

*** event raised for error: InvalidAllocSize
*** function: _i_Zone_c__allocBlock_(), file: Zone.m, line: 326
> Requested allocation size must be at least one byte.
> (Requested allocation size was zero.)
*** execution terminating due to error
Abort (core dumped)

How to work around?

Thorsten Schelhorn

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