Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- For $i = 1 To 5 Step 1
- ConsoleWrite("Iteration " & $i & @CRLF)
- Next
- ; Explanation:
- ; This For loop will iterate from 1 to 5 with a step size of 1.
- ; Inside the loop, ConsoleWrite is used to print the current iteration.
- ; @CRLF is a predefined constant that represents a new line.
- ;(The $ prefix is used when declaring a variable. In this example, $myVariable is assigned
- ;the string value "Hello, AutoIt!".)
- Local $myVariable = "Hello, AutoIt!"
- ConsoleWrite($myVariable)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement