Error Label is Missing ':'

I am getting a label error. Please see the attached file. I do not see why it is flagging the array name.
Bill
571 x 871 - 74K

Comments

  • Fixed. However, still the problem is of unknown origin. I simply retyped DTMFArray in the line and the error quit. Buggy Editor?
  • ...stared at the example, checked the reference manual, and I can't see any problem with the setup/use of DTMFArray.

    It's been a bit, but I think I remember having this issue - and yeah - re-typing the array name cleared the error. Maybe some funky "no-see-um" character snuck its way into the line of code?

    What's the version of Editor you're using?
  • Editor 2.5.4
  • ...not at my development computer so I can't check this out - but - were there any spaces between the array name and index parenthesis?

    Meaning: DTMFArray (index) vs DTMFArray(index)

    The PBasic reference guide does not specifically state that spaces are invalid. I wonder, though.
  • On line 3 seems you’ve written DTMFArray differently than later, ie swapped two characters?
  • banjo wrote: »
    On line 3 seems you’ve written DTMFArray differently than later, ie swapped two characters?

    ...damn! Missed it. Good job, banjo.
Sign In or Register to comment.