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