[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[dennou-ruby:000063] Re: gtrb & multi-D array
- To: dennou-ruby@xxxxxx
- Subject: [dennou-ruby:000063] Re: gtrb & multi-D array
- From: gotoken@xxxxxx (GOTO Kentaro)
- Date: Fri, 3 Sep 1999 04:52:29 +0900 (JST)
- In-Reply-To: Takeshi Horinouchi's message of "Thu, 2 Sep 1999 09:27:55 +0900(JST)" <199909020027.JAA11173@xxxxxx>
- References: <199909020027.JAA11173@xxxxxx>
- Reply-To: dennou-ruby@xxxxxx
���Ȥ���Ǥ�
In message "Re: gtrb & multi-D array"
on 99/09/02, Takeshi Horinouchi <horinout@xxxxxx> writes:
>> Hash �ޤ��� Array �ޤ��Ȥ��ޤ��͡�
>> {0...10=>2} ���뤤�� [0...10,2] ��
>> 0����10�ޤ�2���ȡ����Ȥ���
>
>�Ȥꤢ���������ʤ�Ǥ��礦�͡�����ȥ��֥��åȤλ�����㤨�аʲ�
>�Τ褦�ˤʤ�ޤ���
>
> a[1..2,[0..1,2],5] (�����������)
�����Х�Ϥ褯�Ȥ���Τγ��� ruby �� Range �� Smalltalk ����ʷ�
���֤��������ò����Ƥ���Τǡ������˻פ��ҤȤ�¾�ˤ⤤��
http://blade.nagaokaut.ac.jp/ruby/ruby-talk/thr404-621.html#416
�ǻϤޤ륹��åɤǵ����������Ȥ���Ǥ������Ԥ� Range �κ�����������ϡ�
- ��δֳ֤��б����Ƥʤ�
- ͭ���Ǥ���
�Ȥ������ȤǤ������֤������ϰϤ�ɽ�����륯�饹�����줾�줢�ä�������
���Ȼפ��ޤ����ɤ��Ǥ��礦������Ū������??
-- gotoken