Jump to content

Recommended Posts

Posted

Hello

I need little help what I must do for jump from one place inside program to another place?

In basic it was Gosub or goto what is the command in Autoit for the same function?

Posted

Hello

I need little help what I must do for jump from one place inside program to another place?

In basic it was Gosub or goto what is the command in Autoit for the same function?

You use functions and just call the function when you need it.


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Posted

Thanks BigDod

Please do you have some example what i should do

While 1
;do some stuff!
;do more stuff!
If $Error = 1 then
;Ahhhh Error Occured!!
ErrorOccured() ; <---- Jumps to function
EndIf
WEnd

Func ErrorOccured();<-- The function that is called
;Cleanup Stuff
EndFunc

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
  • Recently Browsing   0 members

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