Noddle Posted January 10, 2006 Posted January 10, 2006 Does Autoit v3 have a Goto / Label type of command.. code i'm trying to write Start: do some work do some more If $Test from a Subroutine = $No Then Reset some data goto Start EndIf do some work do some more Finish Nigel..
ChrisL Posted January 10, 2006 Posted January 10, 2006 (edited) No it uses loops.. While 1 do some work do some more If Subroutine() = "No" Then Reset some data Else Exitloop EndIf Wend do some work do some more Finish Func Subroutine() Do some stuff Return $Value EndFunc Edited January 10, 2006 by ChrisL [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire
John Posted January 10, 2006 Posted January 10, 2006 Does Autoit v3 have a Goto / Label type of command..code i'm trying to writeStart: do some work do some more If $Test from a Subroutine = $No Then Reset some data goto Start EndIf do some work do some more FinishNigel..Never again will it have a goto!!!! I think you can still get the old autoit version that has goto but no GUI. Really though this language is ultra easy to learn work with it. Goto is EVIL!!!!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now