Tuesday, May 1, 2012

type()

 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