Shop OBEX P1 Docs P2 Docs Learn Events
any PUB makes it not work — Parallax Forums

any PUB makes it not work

CassLanCassLan Posts: 586
edited 2009-03-07 22:21 in Propeller 1
Hi All,

I have been struggling with this for the better part of today...

My Spin program at the moment has 2 PUBs: Main and TextMenu
Uses 2 OBJs: TV_Text and KB

It works as expected in everyway, I'm trying to add some subroutines, I've looked at the manual and PUB seems to be what to do.

Whenever I add a PUB the program no longer works..it freezes.
I've Added:

PUB TestFunction

I've tried adding it before Main, after Main...etc

Anyone have any idea whats happening?
If the code would be usefull I'm happy to post it.

Thanks,

Rick

Post Edited (CassLan) : 3/8/2009 3:50:14 AM GMT

Comments

  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2009-03-07 21:01
    Rick,

    Zip up and post your code so we can try it..

    OBC

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    New to the Propeller?

    Check out: Protoboard Introduction , Propeller Cookbook 1.4 & Software Index
    Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
    Got an SD card connected? - PropDOS
  • CassLanCassLan Posts: 586
    edited 2009-03-07 21:05
    Thx, uploaded in first post.

    and WOW btw on your skateboard controller...very cool.

    Rick
  • jazzedjazzed Posts: 11,803
    edited 2009-03-07 22:18
    Dude!

    You need to set your menu position based on what the Propeller Tool calculates.
    Dat addresses can change (as you are finding out) based on the number of methods, etc....

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    --Steve
  • CassLanCassLan Posts: 586
    edited 2009-03-07 22:21
    OMG I'm retarded!!

    Yes of course!! I had only put that hard address in when I was troubleshooting the $10 byte difference.

    Thank you again for your help.

    Rick
Sign In or Register to comment.