in reply to Re^3: A Better Way to Find the Position of the Last Non-Whitespace Character in the Last Element of an Array.
in thread A Better Way to Find the Position of the Last Non-Whitespace Character in the Last Element of an Array.

See the Numerical Recipes series, IIRC. I seem to also remember that there was a 1-based vs 0-based set of changes going around, or perhaps it was in Numerical Recipes in Pascal.

The general case of assigning any value to $[ opens up many interesting problems :-)

--MidLifeXis

The tomes, scrolls etc are dusty because they reside in a dusty old house, not because they're unused. --hangon in this post

  • Comment on Re^4: A Better Way to Find the Position of the Last Non-Whitespace Character in the Last Element of an Array.
  • Download Code