Results 1 to 2 of 2

Thread: jump between procedures

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2000
    Posts
    16

    Question

    hello

    i am trying to get my program to jump to another bookmark in another procedure. i cant use (for example) "goto continue:" beacause it only works in the same procedure and i dont want to call the procedure because then it will start from the top. Is there any other way to make this work ?
    thank you in advance if you help me
    Micke

  2. #2
    Guest
    Hi!

    Procedures were introduced to avoid such spaghetti-code.
    I recommend to call the function with an additional parameter to specify which code to execute.

    Regards, da_bob
    _______________
    Vb6 Enterprise, SP3

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width