Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site ukma.UUCP Path: utzoo!watmath!clyde!cbosgd!hasmed!qusavx!ukma!david From: david@ukma.UUCP (David Herron, NPR Lover) Newsgroups: net.lang.c Subject: Re: Yet Another Assignment Operator (YAAO) Message-ID: <451@ukma.UUCP> Date: Mon, 31-Dec-84 13:14:59 EST Article-I.D.: ukma.451 Posted: Mon Dec 31 13:14:59 1984 Date-Received: Wed, 2-Jan-85 03:46:15 EST Organization: Univ. of KY Mathematical Sciences Lines: 29 > let x = a[j*10+i] in x = func(x); Or (in C): f(i,j) int i,j; {*x; a[NELEMS]; extern *func( *x); x = &a[j*10+i]; x = func(x); } This avoids ANY confusion as to order of (or how often) the expression is evaluated. Has the advantage of being already compatible. (your suggested form would have to be DONE somehow.....and isn't all that clear anywho). --:--:--:--:--:--:--:--:--:--:--:--:--:--:--:--:--:--:--:--:--:--:--:--:- David Herron; ARPA-> "ukma!david"@ANL-MCS (Try the arpa address w/ and w/o the quotes, I have had much trouble with both.) UUCP -:--:--:--:--:--:--:--:--:- (follow one of these routes) {ucbvax,unmvax,boulder,research} ! {anlams,anl-mcs} -----\ vvvvvvvvvvv >-!ukma!david {cbosgd!hasmed,mcvax!qtlon,vax135,mddc} ! qusavx -----/ ^^^^^^^^^^^