Jump to content

I Want To Goto A Line


Recommended Posts

I want to go to my very first line of my program, basicly so it starts over...

try with func

start1()
While 1
    start2()
WEnd

Func start1()
    MsgBox(0," :) ","my first function")
EndFunc
Func start2()
    MsgBox(0," :) ","my second function")
EndFunc
Edited by bogQ

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 
Link to comment
Share on other sites

Lol. Yeah, no help, why would you take goto out, it was so much easier, Im a noob at autoit so maybe a little more explaining? ;)

becose goto is no longer needed (and becose it can flip you brain and owerheat it :) ), exsample that you have ower 100 of goto commands and you dono anymore what goto lead to what goto, where goto ends, are there more goto betwean goto, jada jada jada ( ...), you need only to put what you need in func() and call it anytime you need it :) Edited by bogQ

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 
Link to comment
Share on other sites

If $answer = 7 Then
    MsgBox(0, "Lmao Rofl... Loliepop!!!!", "Some Random Text")

So This is in my Func, if they press a certain button in my gui, but then after this message, i want it to go back to the top of my program so my gui is created again, and so forth

Link to comment
Share on other sites

If $answer = 7 Then
    MsgBox(0, "Lmao Rofl... Loliepop!!!!", "Some Random Text")

So This is in my Func, if they press a certain button in my gui, but then after this message, i want it to go back to the top of my program so my gui is created again, and so forth

well put your gui in func with everything else :)

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...