Re: [If/then and sequences...]
On 30 Aug 2000, at 22:16, irv wrote:
> On Wed, 30 Aug 2000, LEVIATHAN wrote:
>
> > Speaking of inability to handle if statements...
> > Well, I know something Euphoria didn't take from me...
> >
> > if something = 1 OR 2 OR 3 OR 4 OR 5 OR 6...
> > Multiple AND/OR/X* statements...
> > Hmm, shouldn't this be allowed tho?
> > Blessed Be! --"LEVIATHAN"
>
> Yes, it should, unless you prefer the "set" concept:, which I think is neat:
> if something in {1,2,3,4,5,6} then.....
Leviathan, try this:
mirc:
if ( $istok(" nickserv chanserv memoserv infoserv ",$1,32) == $true ) { etc
Euphoria:
if ( istok(1:2:3:4:5:6, input, ':' ) != FALSE ) then etc
or
if ( istok(AllowedInput3, userinput, ':' ) != FALSE ) then etc
Kat,
who calls everything a token.
|
Not Categorized, Please Help
|
|