From: Tigger Date: 2001-03-31T05:40:05+09:00 Subject: [ruby-talk:13362] RE: Ruby does not take space in array reference >===== Original Message From matz@zetabits.com (Yukihiro Matsumoto) ===== >Hi, > >In message "[ruby-talk:13300] Ruby does not take space in array reference" > on 01/03/29, Tigger writes: >| >|Is this the intended behavior? I like putting in lost of white space into >|code that I write, and would like to reference the array as a [0] rather >|than a[0]. > >Yes. It's intended. Ruby is very sensitive to existence of space(s). > > matz. HI Matz, I guess my question is: Does it have to be this way? Can Ruby be made to be less insensitive to the existence of spaces, in the way that a compiled language which undergoes a lexical analysis stage discards spaces when tokenizing the source file. It may be low on the priority list to change, but is it possible, or does ti affect Ruby semantics at some other level? Thanks ------------------------------------------------------------ Get your FREE web-based e-mail and newsgroup access at: http://MailAndNews.com Create a new mailbox, or access your existing IMAP4 or POP3 mailbox from anywhere with just a web browser. ------------------------------------------------------------