递增 [英] Incrementing

查看:81
本文介绍了递增的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有相当于+ =方法(C / C#)或我基本上坚持做:


counter = counter + x?

Is there an equivalent of the += method (C/C#) or am I basicaly stuck doing:

counter = counter + x?

推荐答案

我也很想知道,但我很确定你被卡住了。


Paul

" James Baker" < CP ****** @ hotmail.com>在留言中写道

新闻:ec ************** @ TK2MSFTNGP11.phx.gbl ...
I wonder that too, but I''m pretty sure that you are stuck.

Paul

"James Baker" <cp******@hotmail.com> wrote in message
news:ec**************@TK2MSFTNGP11.phx.gbl...
是否有相当于+ =方法(C / C#)或我基本上坚持
做:
counter = counter + x?
Is there an equivalent of the += method (C/C#) or am I basicaly stuck doing:
counter = counter + x?



x = x + 1


至少在VBScript中是这样的


-

Curt Christianson

所有者/首席开发人员,DF-Software

网站: http://www.Darkfalz.com

博客: http://blog.Darkfalz.com

" James Baker" < CP ****** @ hotmail.com>在留言中写道

新闻:ec ************** @ TK2MSFTNGP11.phx.gbl ...
x = x + 1

At least in VBScript that''s the way

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"James Baker" <cp******@hotmail.com> wrote in message
news:ec**************@TK2MSFTNGP11.phx.gbl...
是否有相当于+ =方法(C / C#)或我基本上坚持
做:
counter = counter + x?
Is there an equivalent of the += method (C/C#) or am I basicaly stuck doing:
counter = counter + x?



谢谢......有点痛苦。


哦,我希望这家公司能够转向.NET =)。
Thanks...kind of a pain.

Oh, how I wish this company would move to .NET =).

这篇关于递增的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆