Displaying in the Parallax Terminal from Propeller Tool difficulty.
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.
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
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:
-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!