Ticket #3183: forbug.au3

File forbug.au3, 1.1 KB (added by bernd.seene@…, 5 years ago)

Code to compile with aut2exe to see the bug

Line 
1#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
2#AutoIt3Wrapper_Compile_Both=y
3#AutoIt3Wrapper_UseX64=y
4#AutoIt3Wrapper_Change2CUI=y
5#AutoIt3Wrapper_Add_Constants=n
6#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
7#cs ----------------------------------------------------------------------------
8
9 AutoIt Version: 3.3.14.2
10 Author:         myName
11
12 Script Function:
13        Template AutoIt script.
14
15#ce ----------------------------------------------------------------------------
16#include <WinAPIFiles.au3>
17#include <FileConstants.au3>
18#include <MsgBoxConstants.au3>
19
20#include <Array.au3>
21#include <Constants.au3>
22
23
24
25
26Opt("MustDeclareVars", 1)
27
28
29;MsgBox($MB_SYSTEMMODAL, "D", "haha")
30
31; Script Start - Add your code below here
32
33
34; Linear Base Address = 0x0000
35
36
37if $CmdLine[0] > 2 Then
38   ConsoleWrite("Zu viele Parameter" & @CRLF)
39   printConsoleHelp()
40   Exit(99)
41EndIf
42
43if $CmdLine[0] < 2 Then
44   ConsoleWrite("Zu wenige Parameter!" & @CRLF)
45   printConsoleHelp()
46   Exit(99)
47EndIf
48
49
50
51
52
53Func printConsoleHelp()
54   ConsoleWrite("Usage: " & @CRLF)
55EndFunc