commented on a Page, WhoIs Dialog  -  Nov 08, 2011

Jethro
MakiMaki,
Quote:
if ($numeric isin 312 318) { halt }
will only check the first condition, that being the 312 to be compared. 318 will be overlooked. If you don't believe me, ask someone experienced in MSL, and he or she'll tell you what you have shown is incorrect.

What you're looking for is this:
Code:
if ($numeric isin 312) || ($numeric isin 318) { halt }
While isin will work but still not considered proper as Dean mentioned.

Your latest example is deemed correct, and it'll work as shown.

I am so happy that the proper way was deemed correct by you, however in your rush your ego has made you look rather silly. I think it prudent that you test first before saying something I post wont work, it may not always be the best code, but it will work. So please test what I post before you say it wont work, I use 7.22 and will upgrade as updates come out, for any one wishing to challenge any code I post be sure to test it first in that.
Clearly in this case you did not test, nor knew about this enough to be correcting any one.

Proper way

raw 312:*: { halt }
raw 318:*: { halt }

My Way

if ($numeric isin 312 318) { halt }
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.