Path: 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 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..."