lua-users home
lua-l archive

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


> Is this right? Is this the only way? Will it work just the same?

Yes, yes(?), yes. The following construction in Lua4.0

  function foo (...)
    ... %x ...
  end

is exactly equivalent to the next one in Lua5.0 (as long as _x_ is a new
name):

  local _x_ = x
  function foo (...)
    ... _x_ ...
  end


> (BTW, a question to Roberto: how high is the finishing of THE BOOK in
> your priority list? ;-)

In my priority list it is very high. But it does not seem to be very
high in publishers' lists ;)

-- Roberto