documentation of [return] is misleading
Closed1991477fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 18 years ago
Descriptionplain2008-06-12 01:55:28
Regarding the -code option to [return], the manual states: "return (2) The return code of the procedure is 2 (TCL_RETURN). The procedure command behaves in its calling context as if it were the command return (with no arguments)." This would imply that no *value* argument could be supplied to the [return -code return] form to be returned from the procedure command's caller. It would be more clear to specify more precisely which arguments would be present in the hypothetical return in the parent. Colin.
dkf Ticket [1991477fff]: 1 change
[History diff]2008-06-12 17:16:16
dgpplain2008-06-28 02:25:11
Logged In: YES user_id=80530 Originator: NO If we simply removed "(with no arguments)", would that solve the problem?
sf-robotplain2008-07-12 09:20:21
Logged In: YES user_id=1312539 Originator: NO This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker).
Log in (anonymous is fine) to add a comment.