Re: If/then and sequences...
- Posted by Jeffrey Fielding <JJProg at CYBERBURY.NET> Aug 28, 2000
- 446 views
On Mon, 28 Aug 2000, you wrote: > Heya all! > > Alright, i've got a slight problem... > > I've got a sequence. An object even. its called buffer. > > I've got to compare a object against another sequence (if buffer[1] = > "//ammo" then ...) > > However, when I go and run it, it pukes like so: > > "true/false condition must be an ATOM". > > Obviously my object i'm comparing against is a sequence, and the > object i'm using is definatly not a sequence. > > So, how would I get around this? > > TIA, > > Blessed Be! --"LEVIATHAN" Use equal: if equal(buffer[1], "//ammo") then...