🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #300

Re: Language Tenets

#300
From: Peter da Silva
Date: Wed, 19 Jul 1989 21:07
18 lines
1198 bytes
In article <5096@ficc.uu.net>, cliff@ficc.uu.net (cliff click) writes:
> or:     struct{ q[i++], r[j++] } = divrem( a[i], b[j] );

>      printime( struct timething { hour, min, sec } );

This has been suggested before. I like it, thought I think the following
syntax is a bit more consistant:

     (struct {float q, r}) { q[i++], r[j++] } = divrem( a[i], b[j] );

     printime( (struct timething) { hour, min, sec } );

     execv("/bin/sh", (char *){"sh", "-c", command});
-- 
Peter da Silva, Xenix Support, Ferranti International Controls Corporation.
Business: peter@ficc.uu.net, +1 713 274 5180. | "A char, a short int, and
Personal: peter@sugar.hackercorp.com.   `-_-' |  an int bit-field were walking
Quote: Have you hugged your wolf today?  'U`  |  through the forest..."
Technical Details
Message-ID: <5098@ficc.uu.net>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!cs.utexas.edu!uunet!ficc!peter
References: <57125@linus.UUCP> <1989Jun24.230056.27774@utzoo.uucp> <5096@ficc.uu.net>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!cs.utexas.edu!uunet!ficc!peter
From: peter@ficc.uu.net (Peter da Silva)
Newsgroups: comp.lang.misc
Subject: Re: Language Tenets
Message-ID: <5098@ficc.uu.net>
Date: 19 Jul 89 21:07:50 GMT
References: <57125@linus.UUCP> <1989Jun24.230056.27774@utzoo.uucp> <5096@ficc.uu.net>
Organization: Xenix Support, FICC
Lines: 18