rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
* args to shell functions
@ 1991-07-02 19:44 Arnold Robbins
  0 siblings, 0 replies; only message in thread
From: Arnold Robbins @ 1991-07-02 19:44 UTC (permalink / raw)
  To: rc

> fn getsize {			# Get the size of $mail in bytes
> 	....
> 	$1 = $size		<<<<<<<<<<<<<<<<<<<<<
> }
> while () {
> 	getsize new		<<<<<<<<<<<<<<<<<<<<<

Hmmm, pass by reference, eh?  Are rc functions recursive?  If not, should
they be?  I don't remember what, if anything, the Duff paper had to say
about this.

Arnold


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1991-07-02 19:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1991-07-02 19:44 args to shell functions Arnold Robbins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).