lua-users home
lua-l archive

token filtering number type

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


Hi,
Is there a way to use token filtering in Lua to distinguish {255, 1,
1, 255} from {255., 1., 1., 255.} in C? I'd like the former to
resolve as int and the later to resolve as floats.
thanks,
wes

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