Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

How do I segment my program?

DescoladaDescolada Posts: 21Member
Hi, I really need some help with Pascal. I took a five month high school course on think Pascal, we did types, arrays, functions,procedures,polys etc, but we never got into any of the complicated stuff like pointers and resources. Now I have written out a program that's just a little bit too long. I need to brake my program up into a couple smaller parts right? How? I make a new one of those .p files, then add it to my program. I always get errors like, "there are two main programs", or "uses expected here". There are some special things I have to write such as: uses, interfaces, and implementation, but after a lot of net searching I cant figure it out. I could use some help please.


Comments

  • zibadianzibadian Posts: 6,349Member
    : Hi, I really need some help with Pascal. I took a five month high school course on think Pascal, we did types, arrays, functions,procedures,polys etc, but we never got into any of the complicated stuff like pointers and resources. Now I have written out a program that's just a little bit too long. I need to brake my program up into a couple smaller parts right? How? I make a new one of those .p files, then add it to my program. I always get errors like, "there are two main programs", or "uses expected here". There are some special things I have to write such as: uses, interfaces, and implementation, but after a lot of net searching I can’t figure it out. I could use some help please.
    :
    :
    :
    Already answered in the pascal board.
Sign In or Register to comment.