﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
2730	SetError - Return Value - undefined ?	mLipok		"in parameters:

{{{
[optional] The value to be returned by the function - if no parameter used the return value is undefined
}}}

This is no true or I personally do not understand the intentions.



'''REPRO:'''
{{{
$ret = _TEST()
MsgBox(1,$ret,VarGetType($ret))

Func _TEST()
	SetError(0)
EndFunc

}}}

'''It is defined:'''
it is Int32
and
it is = 0


Why not specified explicitly:
{{{
SetError ( code [, extended = 0 [, return value = 0]] )
}}}


{{{
[optional] The value to be returned by the function - default is 0 .
}}}



{{{
Return Value
Returns the ""return value"" parameter,
@error and @extended will be set to the values set in the function call (both default = 0)
}}}"	Bug	closed		Documentation	3.3.12.0	None	No Bug		
