lock255 Well-Known Member Licensed User Longtime User Mar 30, 2013 #1 Hello, I need your help ... forum I could not find the tutorial to jump from one code to another line of code .. in short, a command like GO TO there in B4A? Another question how do you switch to another sub when a button is pressed?
Hello, I need your help ... forum I could not find the tutorial to jump from one code to another line of code .. in short, a command like GO TO there in B4A? Another question how do you switch to another sub when a button is pressed?
stevel05 Expert Licensed User Longtime User Mar 30, 2013 #2 There is no GOTO in Basic4Android, is uses calls to subroutines. Also like a lot of modern languages it is event driven. It relies on user interaction. Take a look at the Beginners Guide specifically Chapters 1&2 Last edited: Mar 30, 2013 Upvote 0
There is no GOTO in Basic4Android, is uses calls to subroutines. Also like a lot of modern languages it is event driven. It relies on user interaction. Take a look at the Beginners Guide specifically Chapters 1&2
lock255 Well-Known Member Licensed User Longtime User Mar 30, 2013 #3 stevel05 said: There is no GOTO in Basic4Android, is uses calls to subroutines. Also like a lot of modern languages it is event driven. It relies on user interaction. Take a look at the Beginners Guide specifically Chapters 1&2 Click to expand... Thank you for your reply, I found the solution in Chapter 4. Although I had to create the sub hand, since I selected the word and then I made Sub Go To Declaration (hearing a beep) but you have not created any sub, you know tell me why? Upvote 0
stevel05 said: There is no GOTO in Basic4Android, is uses calls to subroutines. Also like a lot of modern languages it is event driven. It relies on user interaction. Take a look at the Beginners Guide specifically Chapters 1&2 Click to expand... Thank you for your reply, I found the solution in Chapter 4. Although I had to create the sub hand, since I selected the word and then I made Sub Go To Declaration (hearing a beep) but you have not created any sub, you know tell me why?
stevel05 Expert Licensed User Longtime User Mar 30, 2013 #4 Goto Sub Declaration is a shortcut on the context Menu, right mouse click or press F12, that will take the cursor to a subroutine whose name is highlighted that already exists in your code. Upvote 0
Goto Sub Declaration is a shortcut on the context Menu, right mouse click or press F12, that will take the cursor to a subroutine whose name is highlighted that already exists in your code.
lock255 Well-Known Member Licensed User Longtime User Mar 31, 2013 #5 Ahh now I understand, does not create the subroutines but goes to look, right? Upvote 0
stevel05 Expert Licensed User Longtime User Mar 31, 2013 #6 Yes, that's right. ------------------- Sent via Tapatalk Upvote 0
lock255 Well-Known Member Licensed User Longtime User Mar 31, 2013 #7 stevel05 thank you for your help Upvote 0