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


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

    "We suspect that ALMA will allow us to observe this rare form of CO in many other discs.
    By doing that, we can more accurately measure their mass, and determine whether
    scientists have systematically been underestimating how much matter they contain."
  • But there's only a single line of "code" ?
  • PublisonPublison Posts: 10,964
    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.