[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: local function with identical name
- From: Markus Huber <pulse@...>
- Date: Thu, 23 Jan 2003 00:57:36 +0100 (GMT)
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