Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #NoTrayIcon
- #define True Random(0, 1, 1)
- #define f(x) ((x)^2)
- ConsoleWrite("Hello World from AutoIt!" & @CRLF)
- $a = 42
- $A = 1337
- ConsoleWrite($a & @CRLF) ; 42
- ConsoleWrite(True & @CRLF)
- ConsoleWrite(f(2) & @CRLF)
- Type Vector
- int x
- int y
- int z
- EndType
- $vec = new Vector()
- $vec.x = $A
- ConsoleWrite($vec.x & @CRLF)
- $x = Test()
- For $i = 0 To ยงx-1 ; = UBound($x)-1
- ConsoleWrite($x[$i] & @CRLF)
- Next
- Func Test()
- Return [0, 1, 2, 3, 4] ; \o/
- EndFunc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement