What's new in 2.5?
- Posted by "Christian Cuvier" <Christian.CUVIER at agriculture.gouv.fr> Sep 06, 2004
- 478 views
Yes, the structure is brand new. But what about functionality? The only item I heard about is the cleanup handler. Nice improvement, even though optional resume will be still missing :( I had posted a wish list a couple years ago, most of which doesn't appear to make its way in. The most important for my programming are: - local include (make an identifier visible to the including file only) - Allow PBR in routines, using some easy to spot syntax so that the possibility for a var to be modified is not unpredictable; - Negative index tin strings; - call functions as procedure when they modify their first arg, so that someMeaningfulLongName=append(someMeaningfulLongName,something) may become someMeaningfulLongName=append(_,something) or someMeaningfulLongName.append(something) or append(someMeaningfulLongName,something) - Something I had not mentioned before: assume i+3 falls of the valid indexes of sequence s. The current behaviour is that if s[i+3]<3 then... crashes as the bound check fails. But no logical condition holds true when some of its args doesn't exist. As a result, it would be much simpler to code if any such test quietly returned false. Thus, we'd have, whenever x doesn't exist: x<y = x=y = x>y = 0. Not a problem, as x doesn't exist... CChris PS: Rob, did you get my modified get.e file I sent you from an alternate address?