From: Chad Perrin Date: 2006-07-29T03:55:26+09:00 Subject: Re: does ":" have an anolog in another language? On Sat, Jul 29, 2006 at 03:40:11AM +0900, Ike wrote: > does the colon operator have an anolog in say, Java or C++ ? It seems to be > a reference pointer. Am i mistaken in assuming this? Thanks, Ike I tend to guess you're referring to uses of the : character such as the following . . . foo = { :bar => "baz" } If that's what you mean, it's not an operator. Rather, it's a sigil, used to denote a symbol. Symbols are subtle things, and last time I personally saw them discussed and defined on ruby-talk it turned into a flamewar. I recommend googling for "ruby symbol" (without the quotes) and reading about them thusly. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] "The ability to quote is a serviceable substitute for wit." - W. Somerset Maugham