lua-users home
lua-l archive

Re: allowing value evaluations as statements

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


> > 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

AltStyle によって変換されたページ (->オリジナル) /