lua-users home
lua-l archive

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


Is this an official behaviour also for future lua versions?

   function table.test(number)
      print('top')
      function table.test(number)
         print('internal test function',number*2)
      end
      table.test(number)
      print('bottom')
   end

   table.test(123)

   --> top
   --> internal test function  246
   --> bottom

I would like to use this as an feature.



Markus