Re: If/then and sequences...
- Posted by Matthew Lewis <MatthewL at KAPCOUSA.COM> Aug 28, 2000
- 446 views
Use: if equal( buffer[1], "//ammo" ) then ... Matt Lewis > -----Original Message----- > From: Euphoria Programming for MS-DOS > [mailto:EUPHORIA at LISTSERV.MUOHIO.EDU]On Behalf Of LEVIATHAN > Sent: Monday, August 28, 2000 9:34 AM > To: EUPHORIA at LISTSERV.MUOHIO.EDU > Subject: If/then and sequences... > > > 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" >