Re: Last Element Notation
- Posted by jbrown105 at speedymail.org Sep 21, 2003
- 483 views
On Sat, Sep 20, 2003 at 09:56:22PM +0200, Juergen Luethje wrote: Jim wrote: > Juergen, > > I do like your ideas of using fin and last as keywords instead of $. > > The problem there is backwards compatibility. Unfortunately, this is true. I had the impression, that neither '$' nor 'end' was 100% convincing to the community. And also nothing else has been found up to now, where all say "Very great, that's it!". So I just wanted to throw some additional ideas into the discussion. Nothing wrong with that at all. > I have used last as a variable > name in many files, so using that as a keyword might break things. fin as well > (see, fin = File INput). My hope was, that at least 'fin' is so uncommon, that it's rarely used. Now I know better. Could try fin_ or fin__ or even fin__uncommon. These are likely to not be used by any program. Really ugly tho. Could even try _fin or _end, which (since they start with an underscore) are guarrenteed to not be used. But alas, still ugly. > Of course, thats a minor issue (is it really so hard to change all fin to > fin_ and all last to last_ (or even fin___ and last___)?). I don't know. I think it could be annoying. A poweful tool for searching and replacing would be very helpful, though. For Windows, I can recommend e.g. the program "InfoRapid Search & Replace" http://www.inforapid.de/ (Freeware for privat use) Of course us Linux and FreeBSD users have had such a powerful tool for a long time. :D (In case your wondering, its /bin/sed.) > Still, it may > prove just enough to prevent the addition of a new keyword into the language. > > jbrown Yes, I see. Thanks for your comments. Thank you for yours. Best regards, Juergen -- Math problems? Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x]. TOPICA - Start your own email discussion group. FREE! -- "May peace find its way through the heavens to the world of men and women before the fires of the damned consume them." - Someone