Gotchas: A problem that caught me


Results 1 to 3 of 3

Threaded View

  1. #1
    Join Date
    Feb 2008
    Location
    Michigan, USA
    Posts
    231

    Default Gotchas: A problem that caught me

    HI all,

    Ran into one that stumped me for a while (not like that is so unusual)
    The code snippet looked something like this:
    Code:
          
          for CounterB=0 to 31                                                                                                                                 7
          hserin [ByteData[CounterB]]
          next CounterB
    Code:
          for CounterB=0 to 15
          hserin [ByteData[CounterB]]
          next CounterB
    The first example would not compile, the second one would
    Syntax error on the first line, and NEXT without a FOR on the last.

    After puzzling for way too long, I noticed the slider on the bottom.....
    I found that I had a stray "7" in the first line way off screen to the right. Must have accidentally hit a key without realizing it or pasted where there was already a character.

    Not monumental, but might help someone else save some hair.
    Bo
    Last edited by boroko; - 9th July 2010 at 09:28.

Members who have read this thread : 1

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts