🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #4013

Re: A new programming language

#4013
From: S.E. Morris
Date: Mon, 18 Sep 1995 08:42
17 lines
1098 bytes
In article <bbkhx*h8d@yaps.rhein.de>, arno@yaps.rhein.de (Arno Eigenwillig) writes:
> In article <42om0g$qi6@mirv.unsw.edu.au>, Avi  Pilosof writes:
> 
> > The one thing I hate about C is that you
> > cannot initialise a struct using curly braces at any point other
> > that global scope.
> 
> Wrong.
> 
> -- __
> __/// Arno Eigenwillig /\ <arno@yaps.rhein.de> \/  PGP key
> \XX/   V+49-2225-5870  /\ <Arnooo @ #amigager> \/ available

No, this is correct.  Structures cannot be pre-initialised except as
global.  Maybe you were thinking of structure definitions ???

-FISH-   ><>
Technical Details
Message-ID: <DF3Evn.ICt@csc.liv.ac.uk>
Path: arc1-ca.pugleaf.net!EU.net!uknet!liv!lucs!s5sem
References: <42h7q1$6qc@news.xs4all.nl> <42om0g$qi6@mirv.unsw.edu.au> <bbkhx*h8d@yaps.rhein.de>

Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c
Path: arc1-ca.pugleaf.net!EU.net!uknet!liv!lucs!s5sem
From: s5sem@csc.liv.ac.uk (S.E. Morris)
Subject: Re: A new programming language
Sender: news@csc.liv.ac.uk (News Eater)
Message-ID: <DF3Evn.ICt@csc.liv.ac.uk>
Date: Mon, 18 Sep 1995 08:42:59 GMT
To: arno@yaps.rhein.de (Arno Eigenwillig)
References: <42h7q1$6qc@news.xs4all.nl> <42om0g$qi6@mirv.unsw.edu.au> <bbkhx*h8d@yaps.rhein.de>
Nntp-Posting-Host: s5sem@nile.csc.liv.ac.uk
Organization: Computer Science, Liverpool University