Menu

#1130 section returns not enough items

None
invalid
None
none
1
2012-10-15
2012-10-15
Walter
No

If the receiver is a sparse array the missing elements are apparently taken into account for section.

1 Attachments

Discussion

  • Rick McGuire

    Rick McGuire - 2012-10-15
    • status: open --> invalid
    • assigned_to: Rick McGuire
     
  • Rick McGuire

    Rick McGuire - 2012-10-15

    That's what section does. It takes a section of the array for the defined range, including the empty slots.

     
  • Walter

    Walter - 2012-10-15

    5.3.6.26
    Note that the start argument, (the index argument,) may also be
    specified as an array of indexes.
    ... having only one element !?!

     
  • Rick McGuire

    Rick McGuire - 2012-10-15

    On Mon, Oct 15, 2012 at 11:53 AM, Walter walter-pachl@users.sf.net wrote:

    5.3.6.26
    Note that the start argument, (the index argument,) may also be
    specified as an array of indexes.
    ... having only one element !?!

    Sure, why not? This is true for all of the array methods that take an
    index.

    Rick


    [bugs:1130] section returns not enough items

    Status: invalid
    Created: Mon Oct 15, 2012 03:46 PM UTC by Walter
    Last Updated: Mon Oct 15, 2012 03:51 PM UTC
    Owner: Rick McGuire

    If the receiver is a sparse array the missing elements are apparently
    taken into account for section.


    Sent from sourceforge.net because you indicated interest in <
    https://sourceforge.net/p/oorexx/bugs/1130/>

    To unsubscribe from further messages, please visit <
    https://sourceforge.net/auth/prefs/>

     
  • Walter Pachl

    Walter Pachl - 2012-10-15

    That's not what the description talks about

    Von: Rick McGuire [mailto:bigrixx@users.sf.net]
    Gesendet: Montag, 15. Oktober 2012 17:52
    An: [oorexx:bugs]
    Betreff: [oorexx:bugs] #1130 section returns not enough items

    That's what section does. It takes a section of the array for the defined
    range, including the empty slots.


    bugs:1130 section returns not enough items

    Status: invalid Created: Mon Oct 15, 2012 03:46 PM UTC by Walter Last
    Updated: Mon Oct 15, 2012 03:46 PM UTC Owner: Rick McGuire

    If the receiver is a sparse array the missing elements are apparently taken
    into account for section.


    Sent from sourceforge.net because you indicated interest in
    https://sourceforge.net/p/oorexx/bugs/1130/

    To unsubscribe from further messages, please visit
    https://sourceforge.net/auth/prefs/

     

Anonymous
Anonymous

Add attachments
Cancel