lua-users home
lua-l archive

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



Thanks, that is a fine page (we should clean up Wiki to be worthy the language, this particular page is fine!)

(especially clear all 4.0 mentions to an area of their own, and _clearly_ mark that new code is applicable to 5.1, not implying the version, ever)

-asko


David Manura kirjoitti 4.1.2007 kello 0.35:

On 31-Dec-06, at 9:56 PM, askok <at> dnainternet.net wrote:
_= nsfm:copyPath( testfile, newfile )
    or error "File copy failed!"

Currently, Lua does not allow leaving the "_=" away, since that
would make these commands and commands don't have a value ('or'
gives this a value).

The wiki page on this is here:

  http://lua-users.org/wiki/ExpressionsAsStatements

-davidm