Re: free to be you and me

jon klein <[email protected]>
Newsgroups gmane.comp.breve
Message-ID <[email protected]>
On Jan 30, 2004, at 4:55 AM, sky wrote:

> I can get this to work:
>
>
> if (food get-color): free self.
>
> but I can't figure out the opposite.
>
> I tried:
>
> if (food get-color) = (0, 0, 0): free self.
>
> but that and other attempts did not work.

I think what you want is:
	if (food get-color) == (0, 0, 0): free self.

Note the "==" (as opposed to "=").

"=" is an assignment operator, it tries to set the
value of a variable.

"==" is the test operator, it is used to test
equality in, for example, if/then statements.

- jon klein

_______________________________________________
breve mailing list
[email protected]
http://www.spiderland.org/mailman/listinfo/breve
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.