🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #3586

Re: Wishful thinking: return-parameter

#3586
From: halasz
Date: Mon, 31 Jul 1995 22:32
18 lines
1066 bytes
In article <3viv5u$bkv@news.cs.tu-berlin.de>, mfx@cs.tu-berlin.de (Markus Freericks) writes
> .....
> My proposal: separate the concepts of return-value and return-control-flow,
> and extend the function syntax to (for example)
this is _the_ point ....

> .....
>   return; /* return from foo with whatever has been assigned to x,y */
> }
And "return" no longer is _needed_.

> .....
> It might be useful to 
> implicitly declare all return parameters as _register_ (to avoid
> address-taking).
> .....
There is no point to that, no point to making return-parameter
anie different from argument-parameter or local varaible.
Technical Details
Message-ID: <3vjlmk$8co@caip.rutgers.edu>
Path: arc1-ca.pugleaf.net!caip.rutgers.edu!not-for-mail
References: <3ver2u$8bk@caip.rutgers.edu> <3vg8l8$5sd@myst.plaza.ds.adp.com> <3viv5u$bkv@news.cs.tu-berlin.de>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!caip.rutgers.edu!not-for-mail
From: halasz@caip.rutgers.edu
Newsgroups: comp.std.c
Subject: Re: Wishful thinking: return-parameter
Date: 31 Jul 1995 18:32:52 -0400
Organization: Rutgers University
Distribution: world
Message-ID: <3vjlmk$8co@caip.rutgers.edu>
References: <3ver2u$8bk@caip.rutgers.edu> <3vg8l8$5sd@myst.plaza.ds.adp.com> <3viv5u$bkv@news.cs.tu-berlin.de>
NNTP-Posting-Host: caip.rutgers.edu