Re: If/then and sequences...

new topic     » goto parent     » topic index » view thread      » older message » newer message

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...

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu