lua-users home
lua-l archive

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


This has already been answered (twice). Did you not get the answers, or
where they not clear?

-----Original Message-----
From: owner-lua-l@tecgraf.puc-rio.br
[mailto:owner-lua-l@tecgraf.puc-rio.br] On Behalf Of Praveen Kankanala
Sent: Thursday, May 01, 2003 9:20 AM
To: Multiple recipients of list
Subject: Turning a string into a variable

Let's say:

x = "foo"

But now I want to see if foo is an assigned variable (i.e. foo ~= nil
--- but I obviously don't know what x is equal to so I can't do this) 

So is there someway to find out if a string is also a variable, and if
so to get at the contents of that variable.


Praveen