lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sun, 21 May 2006 12:11:42 -0400 Vineet Jain wrote:
> Am in the process of embedding python in Lua:
> 
> I cannot do the following in Lua: "200502" <= a <="200601"
> I get the following error: cannot concatenate boolean to string. So I 
> have to type the above as:
> 
> "200502" <= a and a <="200601"

Why not something like :

	a in "200502", "200601"

The main problen is you can't make the difference between < (less
than) and <= (less or equal)


-- 
Mildred       <xmpp:mildred@jabber.fr> <http://mildred632.free.fr/>
Clef GPG :    <hkp://pgp.mit.edu> ou <http://mildred632.free.fr/gpg_key>
Fingerprint : 197C A7E6 645B 4299 6D37 684B 6F9D A8D6 [9A7D 2E2B]