On Apr 14, 8:55 pm, Sherm Pendley <[EMAIL PROTECTED]> wrote: > "Paddy" <[EMAIL PROTECTED]> writes: > > Having more than one index start point would be a maintenance > > nightmare best avoided. > > Quite right. > > > (It can be done in Perl). > > When was the last time you used Perl? It was allowed in Perl 4 and earlier, > because many Perl users were moving from Awk, which uses an array base of 1. > Even then, having multiple index start points within a single program wasn't > the idea; the idea was to allow programs originally written in Awk to be > ported to Perl with minimal updating. > > It was deprecated as of 5.0 though - which was released in '94. It still > works, for the sake of backwards compatibility, but its use in new code is > highly discouraged. > > sherm-- > > -- > Web Hosting by West Virginians, for West Virginians:http://wv-www.net > Cocoa programming in Perl:http://camelbones.sourceforge.net
I use both Perl and Awk regularly. I did at one stage use the Awk-to- Perl translator as I learned Awk before Perl, but gave it up as the generated Perl was hard to extend, and I learned more Perl. So Perl had it, and now has it deprecated. Python does not have it, but the original poster wants it. I don't think we should add it to Python because it would make porting VB code easier. - Paddy. -- http://mail.python.org/mailman/listinfo/python-list