Opened 10 years ago

Closed 10 years ago

#2730 closed Bug (No Bug)

SetError - Return Value - undefined ?

Reported by: mLipok Owned by:
Milestone: Component: Documentation
Version: Severity: None
Keywords: Cc:


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.


$ret = _TEST()

Func _TEST()

It is defined:
it is Int32
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)

Attachments (0)

Change History (2)

comment:2 Changed 10 years ago by Jpm

  • Version changed from to

comment:3 Changed 10 years ago by guinness

  • Resolution set to No Bug
  • Status changed from new to closed

This has been discussed before between Jon and myself, with the conclusion being it should remain as is. I am closing the ticket as "no bug".

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.

Add Comment

Modify Ticket

as closed The ticket will remain with no owner.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.