Re: [If/then and sequences...]
- Posted by Mark Nenadov <marknen at USA.NET> Aug 28, 2000
- 416 views
LEVIATHAN <leviathan at USWEST.NET> wrote: >>I've got to compare a object against another sequence (if buffer[1] = >>"//ammo" then ...) If I am not mistaken (I may be wrong, I haven't done much Euphoria programming lately), you must use: compare(buffer[1], "//ammo") or was it?: equal(buffer[1], "//ammo") The function being used will return a 1 or 0 depending on whether they are equal. So effectivly, you would do "if compare(buffer[1],"//ammo") = 1" to find out if it was equal. Again, I am not 100% sure. Somebody correct me if I am wrong. ~mark nenadov ____________________________________________________________________ Get free email and a permanent address at http://www.netaddress.com/?N=1