Re: Input-line reverser
- From: Richard Heathfield <invalid@xxxxxxxxxxxxxxx>
- Date: Sat, 31 Dec 2005 05:43:18 +0000 (UTC)
Mike Wahler said:
>
> "Mark McIntyre" <markmcintyre@xxxxxxxxxxx> wrote in message
> news:g5ibr111ajddk27gbggg7u93fhum2pegh1@xxxxxxxxxx
>> On Fri, 30 Dec 2005 15:26:25 GMT, in comp.lang.c , "Mike Wahler"
>> <mkwahler@xxxxxxxxxxxx> wrote:
>>
>>>
>>>"Richard Heathfield" <invalid@xxxxxxxxxxxxxxx> wrote in message
>>>
>>>> The reason it's not a valid C program is that it attempts to modify
>>>
>>>evaluate, not modify. Modifying (i.e. assigning to it) would be OK
>>
>> Not all modification is assignment. Consider if the modification were
>> for example ++ or +=.
>
> Both those operators evaluate their operands.
Indeed, and I did in fact say that "it attempts to modify the
value of an object, when that object hasn't been given a value yet". I'm
still trying to work out what you find objectionable about that.
--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
.
- Follow-Ups:
- Re: Input-line reverser
- From: Keith Thompson
- Re: Input-line reverser
- References:
- Input-line reverser
- From: Albert
- Re: Input-line reverser
- From: Richard Heathfield
- Re: Input-line reverser
- From: Albert
- Re: Input-line reverser
- From: Richard Heathfield
- Re: Input-line reverser
- From: Mike Wahler
- Re: Input-line reverser
- From: Mark McIntyre
- Re: Input-line reverser
- From: Mike Wahler
- Input-line reverser
- Prev by Date: Re: Input-line reverser
- Next by Date: Re: How to stop reading a file?
- Previous by thread: Re: Input-line reverser
- Next by thread: Re: Input-line reverser
- Index(es):
Relevant Pages
|