From: "Kontra, Gergely" Date: 2002-10-04T16:30:33+09:00 Subject: Re: bugs >> I have confidence that the individuals running the Ruby show will >>come up with something to satisfy us all : ) >I think that's statistically impossible. ; ) Possible solutions: 1. All the parameters of the block are local to the block. Well, this way programs written in past won't work. However you can pass values outside the block. 2. Ability to define block vars local How to define them local? Extra typing for future programs. So either old programs won't work without modification,or new programs need extra typing to avoid a probable bug. People will forget these extra typings and create program bugs. What about a version-marking system to provide compatibility? Perl and some others have such a feature. You specify the version you wrote your script for. Next release will mark some old features depricated, and the version after the next version will refuse to work? So I think versioning maybe an acceptable choice (need 1 row extra typing at the beginning of the program, or at the command line an extra switch) Gergo +-[Kontra, Gergely @ Budapest University of Technology and Economics]-+ | Email: kgergely@mcl.hu, kgergely@turul.eet.bme.hu | | URL: turul.eet.bme.hu/~kgergely Mobile: (+36 20) 356 9656 | +-------"Olyan langesz vagyok, hogy poroltoval kellene jarnom!"-------+ . Magyar php mirror es magyar php dokumentacio: http://hu.php.net