lua-users home
lua-l archive

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


In message <[email protected]> you wrote:

> I can write
> 
> s="xxxxxxxx"
> print(s:upper())
> 
> why not
> 
> "xxxxxxxxxx":upper()
> 
> ?

Because "xxxxxxxxxx" is not an identifier but an expression?
Try ("xxxxxxxxxx"):upper() .

-- 
Gavin Wraith ([email protected])
Home page: http://www.wra1th.plus.com/