Shop OBEX P1 Docs P2 Docs Learn Events
Last program runs instead of current — Parallax Forums

Last program runs instead of current

John KauffmanJohn Kauffman Posts: 653
edited 2014-01-12 13:07 in Propeller 1
From my list of "Propeller C – Very Basic Errors"
From the sample programs to support Learn C

What is happening when:

Open and run the helloWorld program with F8. (run/terminal)
Looks fine
Close terminal
Open and run the CountToTen program with F8
Terminal shows HelloWorld instead of CountToTen

Thanks.

Comments

  • kwinnkwinn Posts: 8,697
    edited 2014-01-12 09:43
    Try F10 "Load RAM & run".
  • jazzedjazzed Posts: 11,803
    edited 2014-01-12 11:28
    Most likely you just opened a .C file and didn't select the project. Click the show project button to see what you're actually building (checking the build status can also be useful). This was the most common error I saw at the Parallax Educator's course especially with BasicStamp and Propeller-Tool users.


    From my list of "Propeller C – Very Basic Errors"
    From the sample programs to support Learn C

    What is happening when:

    Open and run the helloWorld program with F8. (run/terminal)
    Looks fine
    Close terminal
    Open and run the CountToTen program with F8
    Terminal shows HelloWorld instead of CountToTen

    Thanks.
  • John KauffmanJohn Kauffman Posts: 653
    edited 2014-01-12 13:07
    It looks like I am another of your statistics for "This was the most common error I saw at the Parallax Educator's course especially with BasicStamp and Propeller-Tool users."
    It was not added new file to project so Run was executing MyProject.c, not the file I had just created and was seeing.
    Thanks

    I'm putting together doc of specifics for folks coming from PBASIC to C. I'll post on my site and ask for input.
Sign In or Register to comment.