Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | Keith Thompson <kst-u@mib.org> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: To use Perl like conditional assignment in C |
| Date | 2011-09-27 19:56 -0700 |
| Organization | None to speak of |
| Message-ID | <ln4nzx1ika.fsf@nuthaus.mib.org> (permalink) |
| References | (1 earlier) <4E7DC3AA.427D@mindspring.com> <9e7n5aF5qvU1@mid.individual.net> <4E7F224B.4BA0@mindspring.com> <9ecvitFmu0U2@mid.individual.net> <4E8274E0.7965@mindspring.com> |
pete <pfiland@mindspring.com> writes:
> Uno wrote:
>> On 9/25/2011 5:44 AM, pete wrote:
>> > Uno wrote:
>> >> On 9/24/2011 4:48 AM, pete wrote:
[...]
>> >>> cfgval = loadConfig ();
>> >>> if (cfgval == 0) {
>> >>> cfgval = DEFAULT_VAL;
>> >>> }
>> >>>
>> >>
>> >> you just posted another syntax other than c tonight in clc; watch it,
>> >> there, revolutionary.
>> >
>> > I don't think that I did that.
>> >
>>
>> Because perl is a child of c,
>> or that if you thought what you posted was
>> C, it wouldn't be syntactical?
>
> I just posted some C code.
> If it also happens to be some other code,
> I don't know anything about it.
Neither does Uno. The code fragment you posted is C; it's not Perl.
--
Keith Thompson (The_Other_Keith) kst-u@mib.org <http://www.ghoti.net/~kst>
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
To use Perl like conditional assignment in C Ya Shou <shouyatf@gmail.com> - 2011-09-24 04:06 -0700
Re: To use Perl like conditional assignment in C Willem <willem@toad.stack.nl> - 2011-09-24 11:13 +0000
Re: To use Perl like conditional assignment in C pete <pfiland@mindspring.com> - 2011-09-24 07:48 -0400
Re: To use Perl like conditional assignment in C Uno <merrilljensen@q.com> - 2011-09-24 21:58 -0700
Re: To use Perl like conditional assignment in C pete <pfiland@mindspring.com> - 2011-09-25 08:44 -0400
Re: To use Perl like conditional assignment in C Uno <merrilljensen@q.com> - 2011-09-26 21:52 -0700
Re: To use Perl like conditional assignment in C pete <pfiland@mindspring.com> - 2011-09-27 21:14 -0400
Re: To use Perl like conditional assignment in C Keith Thompson <kst-u@mib.org> - 2011-09-27 19:56 -0700
Re: To use Perl like conditional assignment in C Nick Keighley <nick_keighley_nospam@hotmail.com> - 2011-09-25 06:53 -0700
Re: To use Perl like conditional assignment in C "J. J. Farrell" <jjf@bcs.org.uk> - 2011-09-26 04:40 +0100
Re: To use Perl like conditional assignment in C Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-09-24 09:04 -0400
Re: To use Perl like conditional assignment in C Willem <willem@toad.stack.nl> - 2011-09-24 14:06 +0000
Re: To use Perl like conditional assignment in C Ya Shou <shouyatf@gmail.com> - 2011-09-26 21:10 -0700
Re: To use Perl like conditional assignment in C Jorgen Grahn <grahn+nntp@snipabacken.se> - 2011-09-29 22:08 +0000
Re: To use Perl like conditional assignment in C "BartC" <bc@freeuk.com> - 2011-09-26 01:37 +0100
csiph-web