lua-users home
lua-l archive

Re: Lua 5.3 work1 Considering math.isinteger or type()

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


----- Original Message -----
From: steve donovan
Date: 7/19/2013 10:25 AM
[On Fri, Jul 19, 2013 at 6:01 PM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
print(type(1))
number integer

Ah, but suddenly a function which has only returned one value returns two .. here again I'm reminded of the special care one must take with string.gsub. Better it be a different function, then.

print(type(1, 'subtype'))
number integer

???

-Josh

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