lua-users home
lua-l archive

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


"Milano Carvalho" <milanogc@hotmail.com> wrote in
F34eDFxvXybEgyI0MsU00004747@hotmail.com:">news:F34eDFxvXybEgyI0MsU00004747@hotmail.com: 

> I would like to suggest the Lua authors to add the % operator to work as
> the remainder of a division (math.mod) in Lua 5.0 since upvalues are
> obsolete. 

Upvalues are obsoletes, but not dead, the syntax is still valid for 
compatibility reasons.

BTW, just to be sure, I tried an old script, and found that concat was not 
understood. I couldn't find it in lstrlib.c... Nor in the current (alpha) 
manual... I finally found it in ltablib.c, so it lives now as 
table.concat().
I mention it, just that you don't forget it in the final version of the 
manual (and for the other confused users :-).
Of course, there is a lot more to do on the manual, like writting the gfind 
doc.

-- 
--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--
Philippe Lhoste (Paris -- France)
Professional programmer and amateur artist
http://jove.prohosting.com/~philho/