Modify

Opened 13 years ago

Closed 12 years ago

#2363 closed Bug (Fixed)

Call with invalid proc regression

Reported by: J-Paul Mesnage 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 by Jon, 12 years ago

Milestone: 3.3.13.13
Owner: set to Jon
Resolution: Fixed
Status: newclosed

Fixed by revision [10505] in version: 3.3.13.13

Modify Ticket

Action
as closed The owner will remain Jon.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.