lua-users home
lua-l archive

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


Title: newbie question ...

Hi Lua gurus !

well, i'm discovering Lua and i try to learn it.
Then i have a newbie question (peharps stupid ...):

what is the difference beetween:

"strings.sub (x,y,z)" and "strsub(x,y,z)"

When i use the first one, all is good, when i use the second one i have error messages:

lua: test.lua:6: attempt to call global `strsub' (a nil value)
stack traceback:
test.lua:6: in main chunk
[C]: ?

Somebody accept to answer to this ... question ?

Samy

________________
Bruno HAUTECOEUR
mail: hautecob@essilor.fr