why this CRSRLF error?

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

Comments

  • 4 Comments sorted by Date Added Votes
  • "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.

    "Are we alone in the universe?"
    "Yes," said the Oracle.
    "So there's no other life out there?"
    "There is. They're alone too."
  • But there's only a single line of "code" ?
  • PublisonPublison Posts: 10,331
    edited July 31 Vote Up0Vote Down
    It's a reserved word in 2.5. It can't be used elsewhere. See page 474 Basic Stamp manual 2.2.
    Infernal Machine
  • john_sjohn_s Posts: 369
    edited July 31 Vote Up0Vote Down
    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.