A way to do sequence slicing with variables in braces
- Posted by John F Dutcher <John_Dutcher at urmc.rochester.edu> Aug 05, 2004
- 398 views
The manual has a paragraph on sequence slicing...I've done a lot of it in a short time: i.e sequence[1..9] etc. Is there an acceptable format that replaces the '1' and the '9' above with integer variables so that a loop can be formed that increments the variable equivalents of '1' and '9' to pick up various 'slices' of 'sequence' ???