Opened 10 years ago
Closed 10 years ago
#3256 closed Bug (Fixed)
Error in Au3Stripper
| Reported by: | Owned by: | Jos | |
|---|---|---|---|
| Milestone: | Component: | SciTE4AutoIt | |
| Version: | Other | Severity: | None |
| Keywords: | Cc: |
Description
Au3Stripper does not handle the type of line:
Global Const $aArray[<size>] = [value1, value2...]
In the future, there is an error "possibly used before declaration"
Attachments (0)
Change History (7)
follow-up: 3 comment:2 by , 10 years ago
Replying to Jos:
Please post a clear bug report to avoid me having to guess, which includes a code snippet and the error made in the output script after running au3stripper.
Thanks
Jos
Global Const $a[3] = [0, 1, 2] _Test() Func _Test () Local $str = "tst1" & $a[1] & "tst2" MsgBox(0, '', $str) EndFunc
comment:3 by , 10 years ago
Replying to omash@…:
Replying to Jos:
Please post a clear bug report to avoid me having to guess, which includes a code snippet and the error made in the output script after running au3stripper.
Thanks
Jos
Global Const $a[3] = [0, 1, 2] _Test() Func _Test () Local $str = "tst1" & $a[1] & "tst2" MsgBox(0, '', $str) EndFunc
After starting the au3stripper:
_10() Func _10() Local $0 = "tst1" & $1[1] & "tst2" ;An error occurs in this line: "$1: possibly used before declaration." MsgBox(0, '', $0) EndFunc
comment:4 by , 10 years ago
| Status: | new → accepted |
|---|
comment:6 by , 10 years ago
Please try the current beta version 16.612.1119.1 to see if that fixes it and doesn't brake anything else.
Jos
comment:7 by , 10 years ago
| Resolution: | → Fixed |
|---|---|
| Status: | accepted → closed |

Please post a clear bug report to avoid me having to guess, which includes a code snippet and the error made in the output script after running au3stripper.
Thanks
Jos