ivaneeo's blog

自由的力量,自由的生活。

  BlogJava :: 首页 :: 联系 :: 聚合  :: 管理
  669 Posts :: 0 Stories :: 64 Comments :: 0 Trackbacks
 a = [ 1, 'cat', 3.14 ]   # array with three elements
# access the first element
a[0]
# set the third element
a[2] = nil
# dump out the array
a
posted on 2006-09-12 15:07 ivaneeo 阅读(207) 评论(0)  编辑  收藏 所属分类: ruby-宝石也锋芒

只有注册用户登录后才能发表评论。


网站导航: