lua-users home
lua-l archive

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


On Wed, Nov 19, 2003 at 09:50:27PM -0800, Nick Trout wrote:
> 
> You might also try:
> 
> 	> s = true and print("hello")
> 	hello
> 	> s = nil and print("hello")
> 
> i.e.
> 	s = project:FindSprite("Title") and print("we have a title")
> 

unfortunately, this will clobber 's'

> s=1729 and print('got it')
got it
> =s
nil

-taj