GOTO vs RETURN after a GOSUB


Results 1 to 10 of 10

Threaded View

  1. #8
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default Re: GOTO vs RETURN after a GOSUB

    This should work.

    Code:
    MainLoop:
    
    'DO SOME STUFF HERE.....
    
        FOR J = 0 TO 7
            GOTO SearchForClockSignal
        NEXT J
    
    goto MainLoop
    Last edited by sayzer; - 19th April 2018 at 04:41.
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

Similar Threads

  1. Is a 'GOTO' Or a 'GoSub'?
    By FromTheCockpit in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 1st August 2013, 23:27
  2. gosub - return
    By l_gaminde in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 11th August 2010, 10:21
  3. GOTO main or RETURN - Question
    By studysession in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 31st January 2009, 16:13
  4. Return VS Goto?
    By Fredrick in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 11th January 2008, 00:13
  5. If ... Then Gosub <> If ... Then Goto?
    By oldtoddler in forum General
    Replies: 6
    Last Post: - 27th February 2006, 11:52

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

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