[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: if-in statement
- From: "Alexandr Leykin" <leykina@...>
- Date: Sun, 11 Nov 2007 22:18:58 +0200
Hello all!
Help me please.
How in the Lua create small "if-in" statement
e.g.
if method in ('HEAD','GET','POST') then ...
now it's see:
if method =='HEAD' or method=='GET' or method=='POST' then ...
Thanks.