All pastes #928041 Raw Edit

Something

public text v1 · immutable
·published 2008-03-04 19:29 UTC
rendered paste body
function foo()
   local a = "embedded var";
   return function ()
              return a;
          end
end

function_with_embedded_var = foo();

print(function_with_embedded_var());