From: Mike McCarty (jmccarty_at_ssd.usa.alcatel.com)
Date: 2001-01-02 18:56:23
On Mon, 1 Jan 2001, Michael Pfeiffer wrote:
> Hi Troy,
>
> >for(;((c=*value)!=39||(c=*value)!=62);)
> >{
> > printf("%d",c);
> >}
> >
> The loop condition is not correct, it must be:
>
> for(;((c=*value)!=39 && (c=*value)!=62);) {...}
Or, better,
while ((c = *value) != 39 && c != 62) {
<stuff>
}
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:37 CET