Shop OBEX P1 Docs P2 Docs Learn Events
why this CRSRLF error? — Parallax Forums

why this CRSRLF error?

john_sjohn_s Posts: 369
edited 2018-07-31 05:12 in BASIC Stamp
Curious popup error inside Stamp Editor - any ideas why?
Remove '{$PBASIC 2.5} line and no more error... go figure

Comments

  • evanhevanh Posts: 15,187
    "Symbol is already defined" means the line the error occurs at is the second attempt to define the same named symbol. Only one definition of each name is allowed, otherwise the interpreter/compiler/assembler wouldn't know which one is being referenced when using it in the program.

    Choose a unique label/symbol name, the problem goes away.

  • But there's only a single line of "code" ?
  • PublisonPublison Posts: 12,366
    edited 2018-07-31 16:07
    It's a reserved word in 2.5. It can't be used elsewhere. See page 474 Basic Stamp manual 2.2.
  • john_sjohn_s Posts: 369
    edited 2018-07-31 17:42
    Thanks! I have to learn again how to do a proper search inside 2.5 Help. The top "search" window line is different from the left bottom "search" and it spooked me well
Sign In or Register to comment.