Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Assignments in conditions

$
0
0
If I remember my C programming, it is possible to assign a value to a variable AND test the result in, for example, an if statement, all in one go.

Is there any way to do this in Autoit? Eval or Assign functions or something??

Example:
[ autoit ]      
Dim $a while $a+=1 < 10 ConsoleWrite($a & @CRLF) WEnd

Thanks!

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>