lua-users home
lua-l archive

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


Hello,


What is better, according to you, and why?

-- my choice, in general
MAX = ...
if n <= MAX

-- common other choice
MAX = ...
if n < MAX+1

-- rather rare version
MAX_PLUS1 = ...
if n < MAX_PLUS1


Denis
________________________________

la vita e estrany

http://spir.wikidot.com/