From: Graham Nicholls Date: 2005-01-20T21:01:01+09:00 Subject: Re: Confused about variable "declarations" Peter Hickman wrote: > Peter Hickman wrote: > >> offset = offset=line.split()[1].to_i > > typo, should be plain > > offset=line.split()[1].to_i > > sorry about that No worries, and thanks, but I think that the problem was that offset is being set inside an iterator (they still confuse me - any pointers to a good explanation would be nice!), which means that it is out of scope outside the iterator. Graham Nicholls -- With Linux the answer's always "Yes". Now, whats the question? ----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==---- http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups ---= East/West-Coast Server Farms - Total Privacy via Encryption =---