swarm-support
[Top][All Lists]
Advanced

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

Returned mail: Can't create output: Undefined error: 0


From: Mail Delivery Subsystem
Subject: Returned mail: Can't create output: Undefined error: 0
Date: Thu, 7 May 1998 10:59:31 -0400 (EDT)

The original message was received at Thu, 7 May 1998 10:57:47 -0400 (EDT)
from [207.6.206.2] (may be forged)

   ----- The following addresses had permanent fatal errors -----
<address@hidden>

   ----- Transcript of session follows -----
550 <address@hidden>... Can't create output: Undefined error: 0
Reporting-MTA: dns; arl-img-7.compuserve.com
Received-From-MTA: DNS; [207.6.206.2]
Arrival-Date: Thu, 7 May 1998 10:57:47 -0400 (EDT)

Final-Recipient: RFC822; 105527.3461@arl-img-7.compuserve.com
Action: failed
Status: 5.3.0
Last-Attempt-Date: Thu, 7 May 1998 10:59:31 -0400 (EDT)
--- Begin Message --- Subject: Re: Error Message Date: Thu, 7 May 98 6:14:40 -0400
Gek Woo Tan wrote:
> 
> Hi,
> 
> Could someone help me?  I created a list of objects and I'm trying to print
> out the contents of my list:
> 
>   id index;
>   Agent *aAgent;
> 
>   index = [Tier1List begin: [self getZone]];
>   while (aAgent = [index next]) {
>     blah ... blah ...
>   }
> 
> I get the compilation error:
> 
> ModelSwarm.m:138: warning: suggest parentheses around assignment used as
> truth value
> (i.e. the "while (aAgent = [index next])" line)
> 
> I don't understand the error message.  I don't know if there's some
> mistake with the syntax.
> 

The error message is just a warning, and on any system I have used so
far, it has no effect on execution.  If you want to get rid of the
annoying message, simply put another layer of parenthesis in your code
as follows:

while ((aAgent = [index next])) {

Rob Kewley

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


--- End Message ---

reply via email to

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