why this CRSRLF error?

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

407 x 308 - 15K

Comments

  • "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.

    "There's no huge amount of massive material
    hidden in the rings that we can't see,
    the rings are almost pure ice."
  • But there's only a single line of "code" ?
  • PublisonPublison Posts: 10,681
    edited 2018-07-31 - 16:07:14
    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 2018-07-31 - 17:42:15
    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.