Jump to content
Sign in to follow this  
Borje

I need little help with

Recommended Posts

Borje

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?

Share this post


Link to post
Share on other sites
BigDod

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.


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

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

Share this post


Link to post
Share on other sites
Borje

Thanks BigDod

Please do you have some example what i should do

Share this post


Link to post
Share on other sites
Paulie

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

Share this post


Link to post
Share on other sites
Borje

Thank Pauline

Now I know little more I would test this thanks agian.

Share this post


Link to post
Share on other sites
Paulie

Thank Pauline

No problem!

But you might want to read my name more carefully :)

lol

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.