a = 10
print(type(a)) --> number
a = "a string!!"
print(type(a)) --> string
출처 : Programming in Lua, Second Edition - 2006 - by Roberto Ierusalimschy
Tuesday, May 1, 2012
type()
Labels:
Lua
Subscribe to:
Post Comments (Atom)
a = 10
print(type(a)) --> number
a = "a string!!"
print(type(a)) --> string
출처 : Programming in Lua, Second Edition - 2006 - by Roberto Ierusalimschy
No comments:
Post a Comment