lua-users home
lua-l archive

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


On Wed, Mar 29, 2006 at 12:19:39PM +1000, D Burgess wrote:
> debug.traceback ([message])
> 
> Returns a string with a traceback of the call stack. An optional
> message string is appended at the beginning of the traceback. This
> function is typically used with xpcall to produce better error
> messages.
> 
> should read
> 
> An optional message string is prepended to the traceback message.
> 
> 
> or
> 
> An optional message string is placed at the beginning of the traceback.

Nah. The append/prepend thing is a programmerism. Prepend isn't even a
word elsewhere. It's perfectly correct to append to the beginning.

-- Jamie Webb