Announcement

Collapse
No announcement yet.

Array Scan Annoyances

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Array Scan Annoyances

    I'm annoyed at myself really...
    For an array going from 0 to 10...

    the FIRST element is at 0
    the Second element is at 1
    etc.

    So when Array Scan returns the RELATIVE index (as the manual says it does) if something is at element 0 it returns 1 (the FIRST element) :doh:

    I must've read that darned help 30 times before this finally sank in - only *after* I'd spent an hour trying to find why I couldn't get to the right value

    :lam:

    I think it's time for a beer. . .
    John,
    --------------------------------
    John Strasser
    Phone: 480 - 273 - 8798

  • #2
    An hour well-spent sir: Given that effort, I sincerely doubt you will ever forget it.
    Michael Mattias
    Tal Systems Inc. (retired)
    Racine WI USA
    [email protected]
    http://www.talsystems.com

    Comment


    • #3
      Got that right
      John,
      --------------------------------
      John Strasser
      Phone: 480 - 273 - 8798

      Comment


      • #4
        Weird

        Originally posted by John Strasser View Post

        I must've read that darned help 30 times before this finally sank in - only *after* I'd spent an hour trying to find why I couldn't get to the right value

        I think it's time for a beer. . .
        We must have been doing this at the same time. I had the same problem and misunderstanding myself.

        I had two beers last night :beerglass: :beerglass:

        Comment


        • #5
          bottoms up
          John,
          --------------------------------
          John Strasser
          Phone: 480 - 273 - 8798

          Comment

          Working...
          X