From: Shannon Fang Date: 2002-12-05T00:25:15+09:00 Subject: More funny Symbols Hi Gavin, Another suggestion about the Funny Symbol faq: I just knew that *name used as parameter of a function/method means variable length parameters, but how about &name? What is & used for? See the following code I copied somewhere from this list :) def _sql(&block) @conn.Open if @sql_blocks_open == 0 @sql_blocks_open += 1 yield ensure @sql_blocks_open -= 1 @conn.Close if @sql_blocks_open == 0 end Thanks! Shannon _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail