Modify ↓
Opened 11 years ago
Closed 10 years ago
#2363 closed Bug (Fixed)
Call with invalid proc regression
Reported by: | Jpm | Owned by: | Jon |
---|---|---|---|
Milestone: | 3.3.13.13 | Component: | AutoIt |
Version: | 3.3.9.9 | Severity: | None |
Keywords: | Cc: |
Description
The following script was working with standard release
It does not work with Beta
Local $invalidProc ="DoesNotExist" ;~ Local $n ;~ $n=Call($invalidProc) ; to go around a bug ;~ ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $n = ' & $n & @CRLF & '>Error code: ' & @error & ' Extended code: 0x' & Hex(@extended) & @CRLF) ;### Debug Console ;~ CheckFuncRet(51, "", $n, 0, 0xDEAD, 0xBEEF, "not exist") CheckFuncRet(51, "", Call($invalidProc), 0, 0xDEAD, 0xBEEF, "not exist") Func CheckFuncRet($n, $fonc, $var, $ok, $error, $extended, $com) MsgBox(262144,'Debug line ~' & @ScriptLineNumber,'Selection:' & @lf & '($Var = $ok)' & @lf & @lf & 'Return:' & @lf & ($Var = $ok) & @lf & @lf & '@Error:' & @lf & @Error & @lf & @lf & '@Extended:' & @lf & @Extended) ;### Debug MSGBOX Return ($Var = $ok) EndFunc
If executed not Embedded it is ok
Attachments (0)
Change History (1)
comment:1 Changed 10 years ago by Jon
- Milestone set to 3.3.13.13
- Owner set to Jon
- Resolution set to Fixed
- Status changed from new to closed
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
Note: See
TracTickets for help on using
tickets.
Fixed by revision [10505] in version: 3.3.13.13