AutoIt Tutorial Part 4
Loading...
18,999
Loading...
Uploader Comments (403forbidden403)
see all
All Comments (23)
-
Quick Info: Why Did You Not Use The Timeout Thingy
-
Quick Fact: Computers Count From 0
-
@7:11
the variable up there is useless "$var = 5/7" is already defined inside the
for line , you can leave it out and it still works , correct me if im wrong ,
btw , nice tutorials , im addicted to them.
-
this videos are very helpful, thanks.
-
And you don't have to define the variable like that when doing a for loop.
dim $var
For $var = 5 to 1 Step -1 MsgBox(0, "Hello World!", $var)
Next
Works just fine, better even i would say.
-
@403forbidden403 :)):)) thanks for explenation :)
-
Just nees to know how to bot in a online game
-
you should try Python. it's easer, and the sintax is not so ugly ;)
Loading...
Amazing :)
I have a question: there is the FOR loop form: for $var=5 to 1 step -1
why not like this ? for 5 to 1 step -1
another question:
since you defined $var in the for loop, is there a reason to define it on line 1 ?
Bramborail 1 year ago
@Bramborail 1. Because if it counts 5,4,3,2,1, how are you going to read what count we are on? You need to put the count somewhere. :) 2. I guess just because it's more solid feeling, and will help you get used to doing it like you will eventually need to if you learn C. (There are no jobs scripting in AutoIt. xP)
btw, glad you liked all my vids, you said "Awesome!" like 10 times. ;)
403forbidden403 1 year ago
different fashions don't make sense ...i think ur confusing people bro....why use a different fashion if u can do it one simple way. if one way works, then that is the way of nature... why try different fashions?
pygame 2 years ago
All i'm trying to do is show people different ways of doing things, because one of those methods might not work in someone's script, and another might, just because of the way they have set it up.
403forbidden403 2 years ago
Ugh, I'm not here for the tutorial, just was curious on the video. I have a question on a script I'm doing.. I have a loop, that controls alot of functions, which I don't have to to expain them..but it has a For-To-Next Loop. I have one way that exit's the loop, which is when a certain number is reached. I want the Stop button to also exit the loop. Have "func" inside the loop, so I don't know what to do. Please reply. Thanks.
I'll pm you the code so you can refer.
Decahfil3d 2 years ago
I will be awaiting your PM. :)
403forbidden403 2 years ago