楼主: DeathKing
|
[讨论] Ruby/RGSS Tips 每日一更 [技术区的版聊帖?] |
点评
研究 RMVX 所发展出来的新语言开发的志向,可以一试撒..
| ||
[email protected]:~> repeat 1 fortune
Matz is nice, so we are nice. |
||
点评
Object#=== 应是直接返回 == 的结果;Class#=== 上面说了,判断 self == obj.class;<=> 是承自 Perl 的比较运算符,左边大、相等、右边大分别返回 -1,0,1
判断的是值还是什么的说? <=> 这个呢??
飞船运算符是 `<=>' 嘛 >_<
【飞船运算符】
专门用于 case 时的相等性判断 OvO
评分 | ||
| ||
[email protected]:~> repeat 1 fortune
Matz is nice, so we are nice. |
||
点评
所以很早以前还幻想实现++a或者a++之类的事情。
评分 | ||
点评
老板真勤快……双蛋活动不参加么?
| ||
[email protected]:~> repeat 1 fortune
Matz is nice, so we are nice. |
||
| ||
| ||
[email protected]:~> repeat 1 fortune
Matz is nice, so we are nice. |
||
| ||
| ||
[email protected]:~> repeat 1 fortune
Matz is nice, so we are nice. |
||
| ||
站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作
GMT+8, 2024-12-4 02:51
Powered by Discuz! X3.1
© 2001-2013 Comsenz Inc.