lua-users home
lua-l archive

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



On Tuesday, January 8, 2002, at 04:14  PM, Markus Huber wrote:

   why doesn't work the following example?

   Name='Test'
   function Test_Version() return 001 end
   print(dostring(Name..'_Version()'))

    Prints: userdata(0): 00000000
But I need: 1

try:

  print(dostring('return '..Name..'_Version()'))

Steve