onlineth Posted February 13, 2014 Share Posted February 13, 2014 Hi, on my Casio Calculator, it lets me input the following commands when you create a program, Goto and Lbl. The command goto goes and finds a label and then the program continues from there. Here is an example LblA "Type in a number that is not 0" Promt(?)->A If A=0 Then "You typed in 0" : GotoA IfEnd ....... Is it possible to do something like this in an AutoIT script? Thank you for your help and support!!! scientia potentia est Link to comment Share on other sites More sharing options...
kylomas Posted February 13, 2014 Share Posted February 13, 2014 onlinethlive, Of course it is. Some of the elements of the language that you will need are: - inputbox / guictrlcreateinput - function(s) / call(s) Look in the Help file and see what you can come up with. Good Luck, kylomas onlineth 1 Forum Rules Procedure for posting code "I like pigs. Dogs look up to us. Cats look down on us. Pigs treat us as equals." - Sir Winston Churchill Link to comment Share on other sites More sharing options...
JohnOne Posted February 13, 2014 Share Posted February 13, 2014 While 1 If _LblA() = 0 Then MsgBox(0, 0, "You typed in 0") Else ExitLoop EndIf WEnd Func _LblA() Return InputBox("", "Type in a number that is not 0") EndFunc ;==>_LblA AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
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