Article View: comp.std.c
Article #5204Re: function returning pointer to itself
From: Steven Ryan
Date: Sun, 17 Jul 1988 20:28
Date: Sun, 17 Jul 1988 20:28
14 lines
948 bytes
948 bytes
Given C and Unix's disdain for NIH, I suppose I shouldn't say this, but
in Algol 68 it's
mode yinyang = proc(parameter)yinyang
or
mode yinyang = proc struct(yinyang value)
---------------------------------------------------------------------
NIH = not invented here
If you're curious about proc struct(...) instead of proc yinyang, it has
to do with wellformed modes--something pascal screws up.
Technical Details
Message-ID:
<1007@garth.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!joyce!sri-unix!garth!smryanReferences:
<7725@watdragon.waterloo.edu) <664@goofy.megatest.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!joyce!sri-unix!garth!smryan From: smryan@garth.UUCP (Steven Ryan) Newsgroups: comp.std.c Subject: Re: function returning pointer to itself Summary: Those who can't learn from the past..... Message-ID: <1007@garth.UUCP> Date: 17 Jul 88 20:28:00 GMT References: <7725@watdragon.waterloo.edu) <664@goofy.megatest.UUCP> Reply-To: smryan@garth.UUCP (Steven Ryan) Organization: INTERGRAPH (APD) -- Palo Alto, CA Lines: 14