Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Variable Use

Status
Not open for further replies.

TheConeHead

Programmer
Aug 14, 2002
2,106
US
Is there a way to use a variable and change it at the same time....

As opposed to doing

MC.swapDepths(vDepth+5);

Is there a way to actually change vDepth to plus 5 and use it - so instead of doing

vDepth+5;
MC.swapDepth(vDepth);

doing it all in one line....

[conehead]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top