A question, variable, set and retrieve among others
by rennie moffat · in Torque Game Builder · 12/17/2009 (3:07 pm) · 3 replies
Hi I just want to confirm something.
total += 5;
is the same as
total = total + 5
:?
tho. due to Torque I can also use
total += 5
to continually add up in say a schedule or onUpdate function?
total += 5;
is the same as
total = total + 5
:?
tho. due to Torque I can also use
total += 5
to continually add up in say a schedule or onUpdate function?
About the author
My thanks to Garage Games and the Garage Games Community combined with owned determination I got one game up, Temple Racer and I am looking to build more interesting, fun games for the mass market of the iOS app store.
#2
I am currently reading C++ for Dummies, everything is clicking now. Up until recently did i realize left and right sides were very important in programming, not like my math background, say algebra. Programming is a different beast.
Anyhow, with the one variable can only be one thing, ever, me thinks programming is a good way to create an entire universe for yourself, friends and family.
So, I am asking, if any one or ones would like me / allow me/ put up with occasional questions about the basics of C++ and its relations/equivalents in Torque Script I would appreciate it. Thank you very much.
Ren
::...1
@MGMNT, if this post needs to be moved to a different forum I am ok with everything. Thank you.
12/17/2009 (5:53 pm)
Well, thanks sir henry william. I appreciate it. I guess maybe the questions are much. Is there anyone willing to help me via private email? I am currently reading C++ for Dummies, everything is clicking now. Up until recently did i realize left and right sides were very important in programming, not like my math background, say algebra. Programming is a different beast.
Anyhow, with the one variable can only be one thing, ever, me thinks programming is a good way to create an entire universe for yourself, friends and family.
So, I am asking, if any one or ones would like me / allow me/ put up with occasional questions about the basics of C++ and its relations/equivalents in Torque Script I would appreciate it. Thank you very much.
Ren
::...1
@MGMNT, if this post needs to be moved to a different forum I am ok with everything. Thank you.
#3
OR just give me yours here and say it is ok for me to contact you occasionally or something.
12/17/2009 (5:55 pm)
PS. if you're on board just write me @ renniemoffat@gmail.comOR just give me yours here and say it is ok for me to contact you occasionally or something.
Associate William Lee Sims
Machine Code Games
Also, the title of your post should be "Question about addition operator".