On Sun, 3 Sep 2006 at 2:23pm, Bram Moolenaar wrote:

>
> Yakov Lerner wrote:
>
> > On 9/3/06, Bram Moolenaar <[EMAIL PROTECTED]> wrote:
> >
> > > > I still miss pre and post increment and decrement operators (avoids a
> > > > separate :let command by itself),
> > >
> > > You mean, as in:
> > >
> > >         :let linenr = a++
> > >
> > > I don't know how difficult this is to implement, and if there are any
> > > conflicts in the syntax.
> >
> > And then probably
> >            :let linenr ++
> > , too ?
>
> That looks weird.  You can do it already with:
>
>       :let linenr += 1

Right, I am not talking about this case, but inside expressions, like
in:

return val++;

instead of saying:

let oldval = val
let val += 1
return oldval

or in:

let ar[i] = ar[i++]

-- 
Thanks,
Hari

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to