• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
linux_ios
博客园    首页    新随笔    联系   管理    订阅  订阅
2013年9月3日
lua 基础 2 类型和值
摘要: -- 类型 和 值--[[ 8中类型 滚动类nil、boolean、 number、string、userdata、function、thread 和 table。]]print (type("Hello World"))print (type(10.4*3))print (type(print))print (type(print))print (type(true))print (type(nil))print (type(type(x)))--变量没有预定义的类型,每一个变量都可能包含任一种类型的值。print ("++++++")print (t 阅读全文
posted @ 2013-09-03 18:39 linux_ios 阅读(373) 评论(0) 推荐(0)
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3