Howdy, Stranger!

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

Sign In with Facebook Sign In with Google Sign In with OpenID

Categories

We have migrated to a new platform! Please note that you will need to reset your password to log in (your credentials are still in-tact though). Please contact lee@programmersheaven.com if you have questions.
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.

using subs

i was using some subs on my programs and found instances where i wanter#d to go back to the
original screen but found i couldnt because i dont know how, if any on knows and would like to tell me,
post a reply or e -mail thanks for your help if you can help

chris

Comments

  • : i was using some subs on my programs and found instances where i wanter#d to go back to the
    : original screen but found i couldnt because i dont know how, if any on knows and would like to tell me,
    : post a reply or e -mail thanks for your help if you can help
    :
    : chris
    :
    I think I know what the prob is. Push F2 and you will see a menu of all the modules in your program. One of the modules will have the same name as the filename. That's the main module of your program.

    That was confusing to me too. I'd like to have all the funcs and sub all on the same screen, myself. You can use NotePad or EDIT to edit your program too, if you save it as ASCII(readable by other programs). That way you can see everything together.

    I hope that helps.


  • retrogeekretrogeek Posts: 93Member
    : i was using some subs on my programs and found instances where i wanter#d to go back to the
    : original screen but found i couldnt because i dont know how, if any on knows and would like to tell me,
    : post a reply or e -mail thanks for your help if you can help
    :
    : chris
    :


    1) What F.O.B. said. (If you are using quick basic OR qbasic)
    2) If you are using Qbasic only, then just hit F2, then Enter. (The main program will always be listed first and highlighted, so you can just press the Enter key).

    rg

  • DymanicDymanic Posts: 63Member
    : : i was using some subs on my programs and found instances where i wanter#d to go back to the
    : : original screen but found i couldnt because i dont know how, if any on knows and would like to tell me,
    : : post a reply or e -mail thanks for your help if you can help
    : :
    : : chris
    : :
    : I think I know what the prob is. Push F2 and you will see a menu of all the modules in your program. One of the modules will have the same name as the filename. That's the main module of your program.
    :
    : That was confusing to me too. I'd like to have all the funcs and sub all on the same screen, myself. You can use NotePad or EDIT to edit your program too, if you save it as ASCII(readable by other programs). That way you can see everything together.
    :
    : I hope that helps.
    :
    :
    You CAN view multiple modules by using the "Edit in split" feature. You can create screens for as many different modules as you have room for on the screen, and hit F6 to move from one to the next.

  • BASIC FriendBASIC Friend Posts: 354Member
    : : : i was using some subs on my programs and found instances where i wanter#d to go back to the
    : : : original screen but found i couldnt because i dont know how, if any on knows and would like to tell me,
    : : : post a reply or e -mail thanks for your help if you can help
    : : :
    : : : chris
    : : :
    : : I think I know what the prob is. Push F2 and you will see a menu of all the modules in your program. One of the modules will have the same name as the filename. That's the main module of your program.
    : :
    : : That was confusing to me too. I'd like to have all the funcs and sub all on the same screen, myself. You can use NotePad or EDIT to edit your program too, if you save it as ASCII(readable by other programs). That way you can see everything together.
    : :
    : : I hope that helps.
    : :
    : :
    : You CAN view multiple modules by using the "Edit in split" feature. You can create screens for as many different modules as you have room for on the screen, and hit F6 to move from one to the next.
    :


Sign In or Register to comment.