lua-users home
lua-l archive

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


	Hi Martin

    Since Lua is an applicative language both branches would be evaluated.

Whenever that becomes an issue i usually wrap the branches in quotes
and evaluate them in the function depending on the condition.
	But then you lost access to local values, don't you?

	Regards,
		Tomás