Shop OBEX P1 Docs P2 Docs Learn Events
Displaying in the Parallax Terminal from Propeller Tool difficulty. — Parallax Forums

Displaying in the Parallax Terminal from Propeller Tool difficulty.

TheDailySergeTheDailySerge Posts: 2
edited 2012-10-12 08:46 in General Discussion
Hey all,

I am fairly new to the Parallax Terminal, so I apologize if my questions seem pretty 'easy', but I just cannot find anything to help me out. My question is:

1) When I have a program that displays text in the Parallax Terminal and is the first PUB, it works. But if it is the second, third, fourth...etc PUB in the program, it will not show up. What do I need to do to show it?

Thank you.

Comments

  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2012-10-12 08:41
    Serge,

    Welcome to the Parallax forum! In Spin, the first PUB in your Toplevel object is your main program. All other PUBs and PRIs are subroutines that need to be called, beginning from your main program, to execute. Can you post your program? See the following before you do, though:

    attachment.php?attachmentid=78421&d=1297987572


    -Phil
  • TheDailySergeTheDailySerge Posts: 2
    edited 2012-10-12 08:46
    Phil,

    Thanks for the quick response! My code is on my other laptop, so I will not be until later that I can pull it. But I do see what you are saying about the first PUB being the Main program. I will try and get back this evening with the example.

    Thanks!
Sign In or Register to comment.